summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/frv/sbrk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/frv/sbrk.c')
-rw-r--r--libc/sysdeps/linux/frv/sbrk.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/frv/sbrk.c b/libc/sysdeps/linux/frv/sbrk.c
index fd760985e..a1ff2a148 100644
--- a/libc/sysdeps/linux/frv/sbrk.c
+++ b/libc/sysdeps/linux/frv/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)
{