mirror of
https://github.com/fluencelabs/musl
synced 2025-06-21 10:41:53 +00:00
expose [v]asprintf under _BSD_SOURCE
reported/requested by Strake; simplified from the provided patch
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user