mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-21 06:12:34 +03:00
0a3f4b2193
git-svn-id: svn://kolibrios.org@1693 a494cfbc-eb01-0410-851d-a64ba20cac60
23 lines
369 B
C
23 lines
369 B
C
#ifdef MALLOC_PROVIDED
|
|
int _dummy_calloc = 1;
|
|
#else
|
|
/* realloc.c -- a wrapper for realloc_r. */
|
|
|
|
#include <_ansi.h>
|
|
#include <reent.h>
|
|
#include <stdlib.h>
|
|
#include <malloc.h>
|
|
|
|
#ifndef _REENT_ONLY
|
|
|
|
_PTR
|
|
_DEFUN (realloc, (ap, nbytes),
|
|
_PTR ap _AND
|
|
size_t nbytes)
|
|
{
|
|
return _realloc_r (_REENT, ap, nbytes);
|
|
}
|
|
|
|
#endif
|
|
#endif /* MALLOC_PROVIDED */
|