summaryrefslogtreecommitdiff
path: root/libc/stdio/asprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/asprintf.c')
-rw-r--r--libc/stdio/asprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdio/asprintf.c b/libc/stdio/asprintf.c
index 98865545e..f5ccfcc7c 100644
--- a/libc/stdio/asprintf.c
+++ b/libc/stdio/asprintf.c
@@ -8,6 +8,8 @@
#include "_stdio.h"
#include <stdarg.h>
+libc_hidden_proto(asprintf)
+
libc_hidden_proto(vasprintf)
#ifndef __STDIO_HAS_VSNPRINTF
@@ -25,8 +27,6 @@ int asprintf(char **__restrict buf, const char * __restrict format, ...)
return rv;
}
-
-libc_hidden_proto(asprintf)
libc_hidden_def(asprintf)
#endif