diff options
Diffstat (limited to 'libgloss/sbrk.c')
-rw-r--r-- | libgloss/sbrk.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libgloss/sbrk.c b/libgloss/sbrk.c index c222b4bbf..d567a4a60 100644 --- a/libgloss/sbrk.c +++ b/libgloss/sbrk.c @@ -27,9 +27,8 @@ char *heap_ptr; * RAM. We just increment a pointer in what's * left of memory on the board. */ -char * -sbrk (nbytes) - int nbytes; +void * +sbrk (ptrdiff_t nbytes) { char *base; |