diff options
Diffstat (limited to 'qemu/roms/ipxe/src/include/alloca.h')
-rw-r--r-- | qemu/roms/ipxe/src/include/alloca.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/qemu/roms/ipxe/src/include/alloca.h b/qemu/roms/ipxe/src/include/alloca.h deleted file mode 100644 index 08398fb3b..000000000 --- a/qemu/roms/ipxe/src/include/alloca.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef _ALLOCA_H -#define _ALLOCA_H - -/** - * @file - * - * Temporary memory allocation - * - */ - -#include <stdint.h> - -/** - * Allocate temporary memory from the stack - * - * @v size Size to allocate - * @ret ptr Allocated memory - * - * This memory will be freed automatically when the containing - * function returns. There are several caveats regarding use of - * alloca(); use it only if you already know what they are. - */ -#define alloca(size) __builtin_alloca ( size ) - -#endif /* _ALLOCA_H */ |