summaryrefslogtreecommitdiffstats
path: root/libc/stdio/vdprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/vdprintf.c')
-rw-r--r--libc/stdio/vdprintf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/stdio/vdprintf.c b/libc/stdio/vdprintf.c
index 6d8c91e90..4e066f169 100644
--- a/libc/stdio/vdprintf.c
+++ b/libc/stdio/vdprintf.c
@@ -8,7 +8,7 @@
#include "_stdio.h"
#include <stdarg.h>
-int vdprintf(int filedes, const char * __restrict format, va_list arg)
+int attribute_hidden __vdprintf(int filedes, const char * __restrict format, va_list arg)
{
FILE f;
int rv;
@@ -51,7 +51,7 @@ int vdprintf(int filedes, const char * __restrict format, va_list arg)
#endif
f.__nextopen = NULL;
- rv = vfprintf(&f, format, arg);
+ rv = __vfprintf(&f, format, arg);
#ifdef __STDIO_BUFFERS
/* If not buffering, then fflush is unnecessary. */
@@ -64,3 +64,4 @@ int vdprintf(int filedes, const char * __restrict format, va_list arg)
return rv;
}
+strong_alias(__vdprintf,vdprintf)