mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-04 01:50:38 +00:00
15 lines
237 B
C
15 lines
237 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 *
|
|
_DEFUN (sbrk, (incr),
|
|
ptrdiff_t incr)
|
|
{
|
|
return _sbrk_r (_REENT, incr);
|
|
}
|