Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-07-19 11:23:09 +0400
committerCorinna Vinschen <corinna@vinschen.de>2011-07-19 11:23:09 +0400
commitc9c2b42229bf74a7d482b09792562a15c6a690a7 (patch)
treeba5dbc9bc6bc3222b4f98790c22fcf765abf1d50 /newlib
parent7ec669539f63d02defeba9cb60f9ada265e9c64a (diff)
* libc/reent/sbrkr.c: Define _sbrk_r independently of the definition
of MALLOC_PROVIDED.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/reent/sbrkr.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 383b42aa1..56285cc93 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 b963307b6..44e42b57f 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;