summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-12-28 15:39:33 -0500
committerRich Felker <dalias@aerifal.cx>2012-12-28 15:39:33 -0500
commitd18a410bbf259e5fee9fb8b4b0335ec64991d5db (patch)
tree0403cde6d01a5e3a38db8acb10d1f6e95c388824 /include
parent761ebe065ca75a2dda9407a1a31da273412525c6 (diff)
downloadmusl-d18a410bbf259e5fee9fb8b4b0335ec64991d5db.tar.gz
expose [v]asprintf under _BSD_SOURCE
reported/requested by Strake; simplified from the provided patch
Diffstat (limited to 'include')
-rw-r--r--include/stdio.h4
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