diff options
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/reent/sbrkr.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 383b42a..56285cc 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2011-07-19 Matt Johnson <johnso87@crhc.illinois.edu> + + * libc/reent/sbrkr.c: Define _sbrk_r independently of the definition + of MALLOC_PROVIDED. + 2011-07-15 Yufeng Zhang <yufeng.zhang@arm.com> * libc/stdio/vfwprintf.c (wcvt): Add a new parameter len of type diff --git a/newlib/libc/reent/sbrkr.c b/newlib/libc/reent/sbrkr.c index b963307..44e42b5 100644 --- a/newlib/libc/reent/sbrkr.c +++ b/newlib/libc/reent/sbrkr.c @@ -13,9 +13,7 @@ #endif #endif -/* If MALLOC_PROVIDED is defined, we don't need this function. */ - -#if defined (REENTRANT_SYSCALLS_PROVIDED) || defined (MALLOC_PROVIDED) +#if defined (REENTRANT_SYSCALLS_PROVIDED) int _dummy_sbrk_syscalls = 1; |