projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix bug in dladdr that prevented resolving addresses in the PLT
[oweals/musl.git]
/
src
/
stdio
/
asprintf.c
diff --git
a/src/stdio/asprintf.c
b/src/stdio/asprintf.c
index 79e59c2db9a76e094564a2e68d2df11ce595eda4..4ec83534e05827134f2ef3ce888bf76da2075972 100644
(file)
--- 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;