mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 11:31:00 +08:00
9087163804
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
14 lines
216 B
C
14 lines
216 B
C
/* connector for sbrk */
|
|
|
|
#include <reent.h>
|
|
#include <unistd.h>
|
|
|
|
extern void *_sbrk_r (struct _reent *, ptrdiff_t);
|
|
extern void *_sbrk (ptrdiff_t);
|
|
|
|
void *
|
|
sbrk (ptrdiff_t incr)
|
|
{
|
|
return _sbrk_r (_REENT, incr);
|
|
}
|