summaryrefslogtreecommitdiff
path: root/libc/stdio/vsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/vsprintf.c')
-rw-r--r--libc/stdio/vsprintf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/stdio/vsprintf.c b/libc/stdio/vsprintf.c
index a7d5e08f5..8e27c19d9 100644
--- a/libc/stdio/vsprintf.c
+++ b/libc/stdio/vsprintf.c
@@ -12,10 +12,12 @@
#warning Skipping vsprintf since no vsnprintf!
#else
+libc_hidden_proto(vsnprintf)
+
int vsprintf(char *__restrict buf, const char * __restrict format,
va_list arg)
{
- return __vsnprintf(buf, SIZE_MAX, format, arg);
+ return vsnprintf(buf, SIZE_MAX, format, arg);
}
#endif