1 /* libc/include/alloca.h - Allocate memory on stack */
2 
3 /* Copyright (c) 2000 Werner Almesberger */
4 /* Rearranged for general inclusion by stdlib.h.
5    2001, Corinna Vinschen <vinschen@redhat.com> */
6 
7 #ifndef _NEWLIB_ALLOCA_H
8 #define _NEWLIB_ALLOCA_H
9 
10 #include "_ansi.h"
11 
12 #undef alloca
13 
14 #ifdef _HAVE_BUILTIN_ALLOCA
15 #define alloca(size) __builtin_alloca(size)
16 #else
17 void * alloca (size_t);
18 #endif
19 
20 #endif
21