summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/sbrk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sh/sbrk.c')
-rw-r--r--libc/sysdeps/linux/sh/sbrk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sh/sbrk.c b/libc/sysdeps/linux/sh/sbrk.c
index 7ccefdf58..343dc14fb 100644
--- a/libc/sysdeps/linux/sh/sbrk.c
+++ b/libc/sysdeps/linux/sh/sbrk.c
@@ -4,6 +4,8 @@
#include <unistd.h>
#include <sys/syscall.h>
+libc_hidden_proto(sbrk)
+
extern void * __curbrk;
extern int __init_brk (void);
@@ -23,5 +25,4 @@ sbrk(intptr_t increment)
}
return ((void *) -1);
}
-libc_hidden_proto(sbrk)
libc_hidden_def(sbrk)