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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [stdlib/] [realloc.c] - Blame information for rev 258

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

Line No. Rev Author Line
1 207 jeremybenn
#ifdef MALLOC_PROVIDED
2
int _dummy_calloc = 1;
3
#else
4
/* realloc.c -- a wrapper for realloc_r.  */
5
 
6
#include <_ansi.h>
7
#include <reent.h>
8
#include <stdlib.h>
9
#include <malloc.h>
10
 
11
#ifndef _REENT_ONLY
12
 
13
_PTR
14
_DEFUN (realloc, (ap, nbytes),
15
        _PTR ap _AND
16
        size_t nbytes)
17
{
18
  return _realloc_r (_REENT, ap, nbytes);
19
}
20
 
21
#endif
22
#endif /* MALLOC_PROVIDED */

powered by: WebSVN 2.1.0

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