From: Rich Felker Date: Sun, 20 Feb 2011 22:19:37 +0000 (-0500) Subject: cleanup asprintf stuff X-Git-Tag: v0.7.0~69 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3075f7e847b0c717959054b86360722326dbde1e;p=oweals%2Fmusl.git cleanup asprintf stuff --- 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 #include -int vasprintf(char **, const char *, va_list); - int asprintf(char **s, const char *fmt, ...) { int ret; diff --git a/src/stdio/vasprintf.c b/src/stdio/vasprintf.c index f2bbc7aa..68b7246b 100644 --- a/src/stdio/vasprintf.c +++ b/src/stdio/vasprintf.c @@ -1,3 +1,4 @@ +#define _GNU_SOURCE #include #include #include