summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nios2
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-23 19:16:29 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-23 19:16:29 +0000
commit3add412f6d22b826b7345fbc481bb874035cb0ed (patch)
treef4e2f0d379a6f4349daece9a385908ed72451767 /libc/sysdeps/linux/nios2
parent7fb2478092d40e5237115f409968a9762734692b (diff)
fixes from psm: hide internal brk symbols
Diffstat (limited to 'libc/sysdeps/linux/nios2')
-rw-r--r--libc/sysdeps/linux/nios2/brk.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/nios2/brk.c b/libc/sysdeps/linux/nios2/brk.c
index 1711e609c..8d6288793 100644
--- a/libc/sysdeps/linux/nios2/brk.c
+++ b/libc/sysdeps/linux/nios2/brk.c
@@ -21,11 +21,10 @@
#include <sys/syscall.h>
#include <errno.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;