diff options
Diffstat (limited to 'libc/sysdeps/linux/sh/brk.c')
-rw-r--r-- | libc/sysdeps/linux/sh/brk.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/sh/brk.c b/libc/sysdeps/linux/sh/brk.c index b26f74fec..c69c97ad6 100644 --- a/libc/sysdeps/linux/sh/brk.c +++ b/libc/sysdeps/linux/sh/brk.c @@ -9,14 +9,11 @@ #include <unistd.h> #include <sys/syscall.h> -libc_hidden_proto(brk) - -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(brk) int brk(void * end_data_seg) { if (__init_brk () == 0) |