summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sh64/sbrk.c
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/sh64/sbrk.c
parent7fb2478092d40e5237115f409968a9762734692b (diff)
downloaduClibc-alpine-3add412f6d22b826b7345fbc481bb874035cb0ed.tar.bz2
uClibc-alpine-3add412f6d22b826b7345fbc481bb874035cb0ed.tar.xz
fixes from psm: hide internal brk symbols
Diffstat (limited to 'libc/sysdeps/linux/sh64/sbrk.c')
-rw-r--r--libc/sysdeps/linux/sh64/sbrk.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/sh64/sbrk.c b/libc/sysdeps/linux/sh64/sbrk.c
index fd760985e..a1ff2a148 100644
--- a/libc/sysdeps/linux/sh64/sbrk.c
+++ b/libc/sysdeps/linux/sh64/sbrk.c
@@ -4,14 +4,11 @@
#include <unistd.h>
#include <sys/syscall.h>
-libc_hidden_proto(sbrk)
-
-extern void * __curbrk;
-
-extern int __init_brk (void);
-libc_hidden_proto(__init_brk)
+extern void * __curbrk attribute_hidden;
+extern int __init_brk (void) attribute_hidden;
extern void *_brk(void *ptr) attribute_hidden;
+libc_hidden_proto(sbrk)
void *
sbrk(intptr_t increment)
{