alloca.h 412 B

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