summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/brk.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-04 14:02:15 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-04 14:02:15 +0000
commite0ab12bcbfd3ac270b4fb6b35cb8d33c2212ffe2 (patch)
tree056093c8b8a442fd8f177d1927b7346b702fb306 /libc/sysdeps/linux/mips/brk.c
parent473a7dd3d8c4ae64956db05872e35a0336f447ab (diff)
Fix naming error in brk.c, enable faster malloc by default
Diffstat (limited to 'libc/sysdeps/linux/mips/brk.c')
-rw-r--r--libc/sysdeps/linux/mips/brk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/mips/brk.c b/libc/sysdeps/linux/mips/brk.c
index 15026e102..82e44e461 100644
--- a/libc/sysdeps/linux/mips/brk.c
+++ b/libc/sysdeps/linux/mips/brk.c
@@ -21,9 +21,9 @@
#include <unistd.h>
#include <sys/syscall.h>
-void *__curbrk = 0;
+void *___brk_addr = 0;
-int __brk (void *addr)
+int brk (void *addr)
{
void *newbrk;
@@ -37,7 +37,7 @@ int __brk (void *addr)
: "$4", "$7");
newbrk = (void *) res;
}
- __curbrk = newbrk;
+ ___brk_addr = newbrk;
if (newbrk < addr)
{