summaryrefslogtreecommitdiff
path: root/src/stdio/asprintf.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-20 17:19:37 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-20 17:19:37 -0500
commit3075f7e847b0c717959054b86360722326dbde1e (patch)
tree097b7d902262569255fd6efd679c24a7992e1469 /src/stdio/asprintf.c
parent46b99426e16c6a4df9f6217cd7989afd4520f557 (diff)
downloadmusl-3075f7e847b0c717959054b86360722326dbde1e.tar.gz
musl-3075f7e847b0c717959054b86360722326dbde1e.tar.bz2
musl-3075f7e847b0c717959054b86360722326dbde1e.tar.xz
musl-3075f7e847b0c717959054b86360722326dbde1e.zip
cleanup asprintf stuff
Diffstat (limited to 'src/stdio/asprintf.c')
-rw-r--r--src/stdio/asprintf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stdio/asprintf.c b/src/stdio/asprintf.c
index 79e59c2d..4ec83534 100644
--- a/src/stdio/asprintf.c
+++ b/src/stdio/asprintf.c
@@ -1,8 +1,7 @@
+#define _GNU_SOURCE
#include <stdio.h>
#include <stdarg.h>
-int vasprintf(char **, const char *, va_list);
-
int asprintf(char **s, const char *fmt, ...)
{
int ret;