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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [stdlib/] [realloc.c] - Blame information for rev 1774

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

Line No. Rev Author Line
1 56 joel
#ifdef MALLOC_PROVIDED
2
int _dummy_calloc = 1;
3
#else
4 39 lampret
/* 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 56 joel
#endif /* MALLOC_PROVIDED */

powered by: WebSVN 2.1.0

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