소스 검색

declare alloca in stdlib.h when _GNU_SOURCE is defined

Rich Felker 13 년 전
부모
커밋
d4045a1683
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      include/stdlib.h

+ 1 - 0
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);