summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc-standard/malloc.h
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-standard/malloc.h
parent20453d82ab702cd25791a84d10ef73cada4cc3b0 (diff)
__malloc_consolidate is only libc internal, enable use of __sbrk
Diffstat (limited to 'libc/stdlib/malloc-standard/malloc.h')
-rw-r--r--libc/stdlib/malloc-standard/malloc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/stdlib/malloc-standard/malloc.h b/libc/stdlib/malloc-standard/malloc.h
index 338edeabf..68d38cb3d 100644
--- a/libc/stdlib/malloc-standard/malloc.h
+++ b/libc/stdlib/malloc-standard/malloc.h
@@ -16,6 +16,7 @@
#define mmap __mmap
#define sysconf __sysconf
+#define sbrk __sbrk
#include <features.h>
#include <stddef.h>
@@ -929,7 +930,7 @@ extern struct malloc_state __malloc_state; /* never directly referenced */
#define get_malloc_state() (&(__malloc_state))
/* External internal utilities operating on mstates */
-void __malloc_consolidate(mstate);
+void __malloc_consolidate(mstate) attribute_hidden;
/* Debugging support */