panic() cleanup.
[minix.git] / include / alloca.h
blob9583b85a90a106d1d2517f483d09a618d4f94793
1 /* alloca.h - The dreaded alloca() function.
2 */
4 #ifndef _ALLOCA_H
5 #define _ALLOCA_H
7 #ifndef _TYPES_H
8 #include <minix/types.h>
9 #endif
11 #if __GNUC__
13 /* The compiler recognizes this special keyword, and inlines the code. */
14 #define alloca(size) __builtin_alloca(size)
16 #endif /* __GCC__ */
18 #if __ACK__ || __CCC__
20 _PROTOTYPE(void *alloca, (size_t _size) );
22 #endif /* __ACK__ || __CCC__ */
24 #endif /* _ALLOCA_H */