summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/brk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sparc/brk.c')
-rw-r--r--libc/sysdeps/linux/sparc/brk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sparc/brk.c b/libc/sysdeps/linux/sparc/brk.c
index 21464f740..f6d5281d2 100644
--- a/libc/sysdeps/linux/sparc/brk.c
+++ b/libc/sysdeps/linux/sparc/brk.c
@@ -21,11 +21,11 @@
#include <unistd.h>
#include <sys/syscall.h>
+libc_hidden_proto(brk)
/* This must be initialized data because commons can't have aliases. */
void *__curbrk = 0;
-
int brk (void *addr)
{
void *newbrk;
@@ -47,5 +47,4 @@ int brk (void *addr)
return 0;
}
-libc_hidden_proto(brk)
libc_hidden_def(brk)