summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-13 10:02:23 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-13 10:02:23 +0000
commit68ab26b26ba2a30efd939d899a24a59731738534 (patch)
tree774c0f3f47f3c187bebd2c8ab36fd999ee3ae0ee /libc/stdlib/malloc
parent20453d82ab702cd25791a84d10ef73cada4cc3b0 (diff)
__malloc_consolidate is only libc internal, enable use of __sbrk
Diffstat (limited to 'libc/stdlib/malloc')
-rw-r--r--libc/stdlib/malloc/free.c1
-rw-r--r--libc/stdlib/malloc/malloc.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/stdlib/malloc/free.c b/libc/stdlib/malloc/free.c
index eb35e78ee..81ec38cd9 100644
--- a/libc/stdlib/malloc/free.c
+++ b/libc/stdlib/malloc/free.c
@@ -12,6 +12,7 @@
*/
#define munmap __munmap
+#define sbrk __sbrk
#include <stdlib.h>
#include <unistd.h>
diff --git a/libc/stdlib/malloc/malloc.c b/libc/stdlib/malloc/malloc.c
index 44eb2c66f..6bc8d8773 100644
--- a/libc/stdlib/malloc/malloc.c
+++ b/libc/stdlib/malloc/malloc.c
@@ -12,6 +12,7 @@
*/
#define mmap __mmap
+#define sbrk __sbrk
#include <stdlib.h>
#include <unistd.h>