summaryrefslogtreecommitdiff
path: root/libc/stdio/vfprintf.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-09 13:52:08 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-09 13:52:08 +0000
commit60acdef20530daeaa65cbce8bb2a14c22bc0ed00 (patch)
tree6d1fff9381cd8f517706bf8de2e0a875f6688b35 /libc/stdio/vfprintf.c
parent1b3c855bc3dff600ee36bbafc3b3ad2d471d8df4 (diff)
Implement all needed hidden *printf and correct vasprintf, thx blindvt
Diffstat (limited to 'libc/stdio/vfprintf.c')
-rw-r--r--libc/stdio/vfprintf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/stdio/vfprintf.c b/libc/stdio/vfprintf.c
index 793b991c5..11fe926a0 100644
--- a/libc/stdio/vfprintf.c
+++ b/libc/stdio/vfprintf.c
@@ -1195,6 +1195,7 @@ static size_t _charpad(FILE * __restrict stream, int padchar, size_t numpad);
#ifdef L_vfprintf
+#define HIDDEN_VFPRINTF __vfprintf
#define VFPRINTF vfprintf
#define FMT_TYPE char
#define OUTNSTR _outnstr
@@ -1227,6 +1228,7 @@ static size_t _fp_out_narrow(FILE *fp, intptr_t type, intptr_t len, intptr_t buf
#else /* L_vfprintf */
+#define HIDDEN_VFPRINTF __vfwprintf
#define VFPRINTF vfwprintf
#define FMT_TYPE wchar_t
#define OUTNSTR _outnwcs
@@ -1844,7 +1846,7 @@ static int _do_one_spec(FILE * __restrict stream,
return 0;
}
-int VFPRINTF (FILE * __restrict stream,
+int attribute_hidden HIDDEN_VFPRINTF (FILE * __restrict stream,
register const FMT_TYPE * __restrict format,
va_list arg)
{
@@ -1921,5 +1923,6 @@ int VFPRINTF (FILE * __restrict stream,
return count;
}
+strong_alias(HIDDEN_VFPRINTF,VFPRINTF)
#endif
/**********************************************************************/