about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/iofwrite.c3
-rw-r--r--libio/memstream.c1
-rw-r--r--libio/putwc.c3
-rw-r--r--libio/rewind.c5
4 files changed, 8 insertions, 4 deletions
diff --git a/libio/iofwrite.c b/libio/iofwrite.c
index 9a4016f06e..47c166cf22 100644
--- a/libio/iofwrite.c
+++ b/libio/iofwrite.c
@@ -53,8 +53,9 @@ _IO_fwrite (buf, size, count, fp)
 INTDEF(_IO_fwrite)
 
 #ifdef weak_alias
+# include <stdio.h>
 weak_alias (_IO_fwrite, fwrite)
-
+libc_hidden_weak (fwrite)
 # ifndef _IO_MTSAFE_IO
 weak_alias (_IO_fwrite, fwrite_unlocked)
 # endif
diff --git a/libio/memstream.c b/libio/memstream.c
index ad31390633..a3ec964237 100644
--- a/libio/memstream.c
+++ b/libio/memstream.c
@@ -124,6 +124,7 @@ open_memstream (bufloc, sizeloc)
 
   return (_IO_FILE *) &new_f->fp._sf._sbf;
 }
+libc_hidden_def (open_memstream)
 
 
 static int
diff --git a/libio/putwc.c b/libio/putwc.c
index 3fbef87b5e..33da712f7f 100644
--- a/libio/putwc.c
+++ b/libio/putwc.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
+/* Copyright (C) 1991,95,96,97,98,99,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -33,3 +33,4 @@ putwc (wc, fp)
   _IO_cleanup_region_end (0);
   return result;
 }
+libc_hidden_def (putwc)
diff --git a/libio/rewind.c b/libio/rewind.c
index 91bcdf15f5..e1bdc571e0 100644
--- a/libio/rewind.c
+++ b/libio/rewind.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1993,96,97,98,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -26,7 +26,7 @@
    in files containing the exception.  */
 
 #include "libioP.h"
-#include "stdio.h"
+#include <stdio.h>
 
 void
 rewind (fp)
@@ -40,3 +40,4 @@ rewind (fp)
   _IO_funlockfile (fp);
   _IO_cleanup_region_end (0);
 }
+libc_hidden_def (rewind)