OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [include/] [alloca.h] - Blame information for rev 1773

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1005 ivang
/* 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
#ifdef __GNUC__
14
#define alloca(size) __builtin_alloca(size)
15
#else
16
void * _EXFUN(alloca,(size_t));
17
#endif
18
 
19
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.