aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/vfprintf.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 /stdio-common/vfprintf.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 'stdio-common/vfprintf.c')
-rw-r--r--stdio-common/vfprintf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
index ec30aba7e4..21368e1aab 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -29,6 +29,7 @@
#include <sys/param.h>
#include "_itoa.h"
#include <locale/localeinfo.h>
+#include <stdio.h>
/* This code is shared between the standard stdio implementation found
in GNU C library and the libio implementation originally found in
@@ -104,7 +105,6 @@
# endif
#else /* ! USE_IN_LIBIO */
/* This code is for use in the GNU C library. */
-# include <stdio.h>
# define ARGCHECK(S, Format) \
do \
{ \
@@ -2264,6 +2264,7 @@ strong_alias (_IO_vfwprintf, __vfwprintf);
weak_alias (_IO_vfwprintf, vfwprintf);
# else
strong_alias (_IO_vfprintf, vfprintf);
+libc_hidden_def (vfprintf)
INTDEF(_IO_vfprintf)
# endif
# else