projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
761ebe0
)
expose [v]asprintf under _BSD_SOURCE
author
Rich Felker
<dalias@aerifal.cx>
Fri, 28 Dec 2012 20:39:33 +0000
(15:39 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 28 Dec 2012 20:39:33 +0000
(15:39 -0500)
reported/requested by Strake; simplified from the provided patch
include/stdio.h
patch
|
blob
|
history
diff --git
a/include/stdio.h
b/include/stdio.h
index 6e8e64544d97d6e0747aa3adb3125b89aa69a976..645e6221002ee3ff0b58695397b1b305d53f14ff 100644
(file)
--- 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