2015-07-15 05:09:55 +00:00
|
|
|
/* libc/include/alloca.h - Allocate memory on stack */
|
|
|
|
|
|
|
|
/* Written 2000 by Werner Almesberger */
|
|
|
|
/* Rearranged for general inclusion by stdlib.h.
|
|
|
|
2001, Corinna Vinschen <vinschen@redhat.com> */
|
|
|
|
|
|
|
|
#ifndef _NEWLIB_ALLOCA_H
|
|
|
|
#define _NEWLIB_ALLOCA_H
|
|
|
|
|
|
|
|
#include "_ansi.h"
|
|
|
|
#include <sys/reent.h>
|
|
|
|
|
|
|
|
#undef alloca
|
|
|
|
|
|
|
|
#ifdef __GNUC__
|
|
|
|
#define alloca(size) __builtin_alloca(size)
|
|
|
|
#else
|
2018-02-16 13:43:18 +00:00
|
|
|
void * alloca (size_t);
|
2015-07-15 05:09:55 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|