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:
d71d080
)
fix alloca issue in stdlib.h too
author
Rich Felker
<dalias@aerifal.cx>
Mon, 9 Apr 2012 20:22:05 +0000
(16:22 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 9 Apr 2012 20:22:05 +0000
(16:22 -0400)
I forgot _GNU_SOURCE also has it declared here...
include/stdlib.h
patch
|
blob
|
history
diff --git
a/include/stdlib.h
b/include/stdlib.h
index 9c8a1182b10d8bb6bc767c56787473fa5ee8c4c3..ed512f43bffde79b416ae50b2d6611bbc2eea62c 100644
(file)
--- a/
include/stdlib.h
+++ b/
include/stdlib.h
@@
-128,7
+128,7
@@
void lcong48 (unsigned short [7]);
#endif
#if defined(_GNU_SOURCE)
-void *alloca(size_t);
+#include <alloca.h>
char *mktemp (char *);
void *valloc (size_t);
void *memalign(size_t, size_t);