summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-11 22:43:57 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-11 22:43:57 -0400
commitd4045a1683d402dd4e53b3ae388d8794d7238c7e (patch)
tree04f6cc61415745b9a263efe5392fd648fc8eda10
parent8fe5fa56eeade4fc19c5401861c179c2fdfeaf3d (diff)
downloadmusl-d4045a1683d402dd4e53b3ae388d8794d7238c7e.tar.gz
musl-d4045a1683d402dd4e53b3ae388d8794d7238c7e.tar.bz2
musl-d4045a1683d402dd4e53b3ae388d8794d7238c7e.tar.xz
musl-d4045a1683d402dd4e53b3ae388d8794d7238c7e.zip
declare alloca in stdlib.h when _GNU_SOURCE is defined
-rw-r--r--include/stdlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 023f6e78..43225dd4 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -128,6 +128,7 @@ void lcong48 (unsigned short [7]);
#endif
#if defined(_GNU_SOURCE)
+void *alloca(size_t);
char *mktemp (char *);
void *valloc (size_t);
void *memalign(size_t, size_t);