summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/hppa/brk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/hppa/brk.c')
-rw-r--r--libc/sysdeps/linux/hppa/brk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/hppa/brk.c b/libc/sysdeps/linux/hppa/brk.c
index b57c3328a..52d0b4c74 100644
--- a/libc/sysdeps/linux/hppa/brk.c
+++ b/libc/sysdeps/linux/hppa/brk.c
@@ -24,7 +24,10 @@
libc_hidden_proto(brk)
/* This must be initialized data because commons can't have aliases. */
+extern void *__curbrk;
+libc_hidden_proto(__curbrk)
void *__curbrk = 0;
+libc_hidden_data_def(__curbrk)
int
brk (void *addr)