~ubuntu-branches/ubuntu/saucy/emscripten/saucy-proposed

« back to all changes in this revision

Viewing changes to system/include/libc/alloca.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 * _EXFUN(alloca,(size_t));
 
19
#endif
 
20
 
 
21
#endif