summaryrefslogtreecommitdiffstats
path: root/libc/stdio/fprintf.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-10 15:10:57 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-10 15:10:57 +0000
commit7fe677c6d31a6fd854eaf64609d72b8613ca36ea (patch)
tree4c65df7c08e0730d0686b169545be93177080810 /libc/stdio/fprintf.c
parenteb853014235c86b33318f16e205ff2f818e5a67c (diff)
downloaduClibc-alpine-7fe677c6d31a6fd854eaf64609d72b8613ca36ea.tar.bz2
uClibc-alpine-7fe677c6d31a6fd854eaf64609d72b8613ca36ea.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/stdio/fprintf.c')
-rw-r--r--libc/stdio/fprintf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/stdio/fprintf.c b/libc/stdio/fprintf.c
index 388eb0c3b..ee19c85a5 100644
--- a/libc/stdio/fprintf.c
+++ b/libc/stdio/fprintf.c
@@ -8,14 +8,16 @@
#include "_stdio.h"
#include <stdarg.h>
-int fprintf(FILE * __restrict stream, const char * __restrict format, ...)
+#undef fprintf
+int attribute_hidden __fprintf(FILE * __restrict stream, const char * __restrict format, ...)
{
va_list arg;
int rv;
va_start(arg, format);
- rv = vfprintf(stream, format, arg);
+ rv = __vfprintf(stream, format, arg);
va_end(arg);
return rv;
}
+strong_alias(__fprintf,fprintf)