aboutsummaryrefslogtreecommitdiff
path: root/include/alloca.h
blob: 9536fe0f1fd38a1f9ceb74b27c44fd7eb9ad14c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _ALLOCA_H

#include <stdlib/alloca.h>

#undef	__alloca

/* Now define the internal interfaces.  */
extern void *__alloca (size_t __size);

#ifdef	__GNUC__
# define __alloca(size)	__builtin_alloca (size)
#endif /* GCC.  */

extern int __libc_use_alloca (size_t size) __attribute__ ((const));
extern int __libc_alloca_cutoff (size_t size) __attribute__ ((const));

#define __MAX_ALLOCA_CUTOFF	65536

#include <allocalim.h>

#endif