summaryrefslogtreecommitdiffstats
path: root/libc/stdio/asprintf.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-24 16:15:28 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-24 16:15:28 +0000
commitdd4c03d796f73e008d93ade62655deb70aaaf34a (patch)
tree381f07ac566718afc00cde9a5470ad8bf16625e4 /libc/stdio/asprintf.c
parent0f82408c13d9e8be9dd022b0c21411fe86693f67 (diff)
downloaduClibc-alpine-dd4c03d796f73e008d93ade62655deb70aaaf34a.tar.bz2
uClibc-alpine-dd4c03d796f73e008d93ade62655deb70aaaf34a.tar.xz
Big sync with trunk.
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 54998fa1d..36ed807a4 100644
--- a/libc/stdio/asprintf.c
+++ b/libc/stdio/asprintf.c
@@ -12,8 +12,6 @@
#warning Skipping asprintf and __asprintf since no vsnprintf!
#else
-weak_alias(__asprintf,asprintf)
-
int __asprintf(char **__restrict buf, const char * __restrict format, ...)
{
va_list arg;
@@ -26,4 +24,6 @@ int __asprintf(char **__restrict buf, const char * __restrict format, ...)
return rv;
}
+weak_alias(__asprintf,asprintf)
+
#endif