From: Rich Felker Date: Fri, 28 Dec 2012 20:39:33 +0000 (-0500) Subject: expose [v]asprintf under _BSD_SOURCE X-Git-Tag: v0.9.9~40 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d18a410bbf259e5fee9fb8b4b0335ec64991d5db;p=oweals%2Fmusl.git expose [v]asprintf under _BSD_SOURCE reported/requested by Strake; simplified from the provided patch --- 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