summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/h8300
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/h8300')
-rw-r--r--libc/sysdeps/linux/h8300/brk.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/h8300/brk.c b/libc/sysdeps/linux/h8300/brk.c
index 0da4286e7..668e6fe70 100644
--- a/libc/sysdeps/linux/h8300/brk.c
+++ b/libc/sysdeps/linux/h8300/brk.c
@@ -9,11 +9,10 @@
#include <unistd.h>
#include <sys/syscall.h>
-libc_hidden_proto(brk)
-
/* This must be initialized data because commons can't have aliases. */
-void *__curbrk = 0;
+void *__curbrk attribute_hidden = 0;
+libc_hidden_proto(brk)
int brk (void *addr)
{
void *newbrk;