summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/brk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/mips/brk.c')
-rw-r--r--libc/sysdeps/linux/mips/brk.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/mips/brk.c b/libc/sysdeps/linux/mips/brk.c
index cf48288f4..d98aec6e0 100644
--- a/libc/sysdeps/linux/mips/brk.c
+++ b/libc/sysdeps/linux/mips/brk.c
@@ -21,10 +21,9 @@
#include <unistd.h>
#include <sys/syscall.h>
-libc_hidden_proto(brk)
-
-void *__curbrk = 0;
+void *__curbrk attribute_hidden = 0;
+libc_hidden_proto(brk)
int brk (void *addr)
{
void *newbrk;