aboutsummaryrefslogtreecommitdiff
path: root/libio/iofwrite.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-10 09:24:53 +0000
committerRoland McGrath <roland@gnu.org>2002-08-10 09:24:53 +0000
commitb9b91868d49b1853bdb15e7514eb5fbc578926a9 (patch)
tree43e1361fba746ce24f8fc064fe6dbabb2510c0da /libio/iofwrite.c
parent5656e2948f2afcf5ace45b01ac2589ded742e6d3 (diff)
downloadglibc-b9b91868d49b1853bdb15e7514eb5fbc578926a9.tar
glibc-b9b91868d49b1853bdb15e7514eb5fbc578926a9.tar.gz
glibc-b9b91868d49b1853bdb15e7514eb5fbc578926a9.tar.bz2
glibc-b9b91868d49b1853bdb15e7514eb5fbc578926a9.zip
* include/wchar.h (putwc): Use libc_hidden_proto.
* include/stdio.h (dprintf, fprintf, vfprintf, sprintf, sscanf, fwrite, perror, remove, rewind, open_memstream): Likewise. * stdio-common/dprintf.c: Add libc_hidden_def. * stdio-common/fprintf.c: Likewise. * stdio-common/sprintf.c: Likewise. * stdio-common/sscanf.c: Likewise. * libio/iofwrite.c: Likewise. * libio/memstream.c: Likewise. * libio/putwc.c: Likewise. * stdio-common/perror.c: Likewise. * sysdeps/posix/remove.c: Likewise. * sysdeps/generic/remove.c: Likewise. * libio/rewind.c: Likewise. Use <stdio.h> instead of "stdio.h". * stdio-common/vfprintf.c: Add libc_hidden_def. Include <stdio.h>.
Diffstat (limited to 'libio/iofwrite.c')
-rw-r--r--libio/iofwrite.c3
1 files changed, 2 insertions, 1 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