mirror of
git://git.musl-libc.org/musl
synced 2025-04-27 13:28:47 +00:00
expose [v]asprintf under _BSD_SOURCE
reported/requested by Strake; simplified from the provided patch
This commit is contained in:
parent
761ebe065c
commit
d18a410bbf
@ -175,11 +175,11 @@ int fileno_unlocked(FILE *);
|
|||||||
int getw(FILE *);
|
int getw(FILE *);
|
||||||
int putw(int, FILE *);
|
int putw(int, FILE *);
|
||||||
char *fgetln(FILE *, size_t *);
|
char *fgetln(FILE *, size_t *);
|
||||||
|
int asprintf(char **, const char *, ...);
|
||||||
|
int vasprintf(char **, const char *, va_list);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _GNU_SOURCE
|
#ifdef _GNU_SOURCE
|
||||||
int asprintf(char **, const char *, ...);
|
|
||||||
int vasprintf(char **, const char *, va_list);
|
|
||||||
char *fgets_unlocked(char *, int, FILE *);
|
char *fgets_unlocked(char *, int, FILE *);
|
||||||
int fputs_unlocked(const char *, FILE *);
|
int fputs_unlocked(const char *, FILE *);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user