Last change
on this file since 577 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
412 bytes
|
Line | |
---|
1 | /* libc/include/alloca.h - Allocate memory on stack */ |
---|
2 | |
---|
3 | /* Written 2000 by Werner Almesberger */ |
---|
4 | /* Rearranged for general inclusion by stdlib.h. |
---|
5 | 2001, Corinna Vinschen <vinschen@redhat.com> */ |
---|
6 | |
---|
7 | #ifndef _NEWLIB_ALLOCA_H |
---|
8 | #define _NEWLIB_ALLOCA_H |
---|
9 | |
---|
10 | #include "_ansi.h" |
---|
11 | #include <sys/reent.h> |
---|
12 | |
---|
13 | #undef alloca |
---|
14 | |
---|
15 | #ifdef __GNUC__ |
---|
16 | #define alloca(size) __builtin_alloca(size) |
---|
17 | #else |
---|
18 | void * alloca (size_t); |
---|
19 | #endif |
---|
20 | |
---|
21 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.