You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
412B

  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