mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-02 04:20:28 +08:00
e6321aa6a6
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
18 lines
262 B
C
18 lines
262 B
C
/* vec_realloc.c -- a wrapper for _vec_realloc_r. */
|
|
|
|
#include <_ansi.h>
|
|
#include <reent.h>
|
|
#include <stdlib.h>
|
|
|
|
#ifndef _REENT_ONLY
|
|
|
|
void *
|
|
_DEFUN (vec_realloc, (ap, nbytes),
|
|
void *ap,
|
|
size_t nbytes)
|
|
{
|
|
return _vec_realloc_r (_REENT, ap, nbytes);
|
|
}
|
|
|
|
#endif
|