URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [newlib/] [libc/] [stdlib/] [valloc.c] - Rev 345
Compare with Previous | Blame | View Log
#ifndef MALLOC_PROVIDED /* valloc.c -- a wrapper for valloc_r and pvalloc_r. */ #include <_ansi.h> #include <reent.h> #include <stdlib.h> #include <malloc.h> #ifndef _REENT_ONLY _PTR _DEFUN (valloc, (nbytes), size_t nbytes) { return _valloc_r (_REENT, nbytes); } _PTR _DEFUN (pvalloc, (nbytes), size_t nbytes) { return _pvalloc_r (_REENT, nbytes); } #endif #endif