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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-newlib/] [newlib-1.17.0/] [newlib/] [libc/] [stdlib/] [realloc.c] - Blame information for rev 9

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 9 jlechner
#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.