* libc/include/alloca.h: Move libc/sys/linux/include/alloca.h

to here.  Rearrange for general inclusion by stdlib.h.
	* libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
	isn't defined.
	* libc/sys/linux/include/alloca.h: Move to libc/include.
This commit is contained in:
Corinna Vinschen
2001-11-14 10:25:35 +00:00
parent 7a90b1ef80
commit d7ca37e413
4 changed files with 31 additions and 13 deletions

View File

@ -1,13 +0,0 @@
/* libc/sys/linux/include/alloca.h - Allocate memory on stack */
/* Written 2000 by Werner Almesberger */
#ifndef _NEWLIB_ALLOCA_H
#define _NEWLIB_ALLOCA_H
/* Simple, since we know that we use gcc */
#define alloca(size) __builtin_alloca(size)
#endif