diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-12-28 15:39:33 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-12-28 15:39:33 -0500 |
commit | d18a410bbf259e5fee9fb8b4b0335ec64991d5db (patch) | |
tree | 0403cde6d01a5e3a38db8acb10d1f6e95c388824 /include | |
parent | 761ebe065ca75a2dda9407a1a31da273412525c6 (diff) | |
download | musl-d18a410bbf259e5fee9fb8b4b0335ec64991d5db.tar.gz musl-d18a410bbf259e5fee9fb8b4b0335ec64991d5db.tar.xz musl-d18a410bbf259e5fee9fb8b4b0335ec64991d5db.zip |
expose [v]asprintf under _BSD_SOURCE
reported/requested by Strake; simplified from the provided patch
Diffstat (limited to 'include')
-rw-r--r-- | include/stdio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdio.h b/include/stdio.h index 6e8e6454..645e6221 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -175,11 +175,11 @@ int fileno_unlocked(FILE *); int getw(FILE *); int putw(int, FILE *); char *fgetln(FILE *, size_t *); +int asprintf(char **, const char *, ...); +int vasprintf(char **, const char *, va_list); #endif #ifdef _GNU_SOURCE -int asprintf(char **, const char *, ...); -int vasprintf(char **, const char *, va_list); char *fgets_unlocked(char *, int, FILE *); int fputs_unlocked(const char *, FILE *); #endif |