summaryrefslogtreecommitdiff
path: root/libc/stdio/sprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/sprintf.c')
-rw-r--r--libc/stdio/sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/sprintf.c b/libc/stdio/sprintf.c
index bbda86bee..360245366 100644
--- a/libc/stdio/sprintf.c
+++ b/libc/stdio/sprintf.c
@@ -14,6 +14,7 @@
libc_hidden_proto(vsnprintf)
+libc_hidden_proto(sprintf)
int sprintf(char *__restrict buf, const char * __restrict format, ...)
{
va_list arg;
@@ -25,7 +26,6 @@ int sprintf(char *__restrict buf, const char * __restrict format, ...)
return rv;
}
-libc_hidden_proto(sprintf)
libc_hidden_def(sprintf)
#endif