summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sh')
-rw-r--r--libc/sysdeps/linux/sh/__init_brk.c3
-rw-r--r--libc/sysdeps/linux/sh/brk.c1
-rw-r--r--libc/sysdeps/linux/sh/sbrk.c1
3 files changed, 0 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/sh/__init_brk.c b/libc/sysdeps/linux/sh/__init_brk.c
index c14180a6c..9f5ee867b 100644
--- a/libc/sysdeps/linux/sh/__init_brk.c
+++ b/libc/sysdeps/linux/sh/__init_brk.c
@@ -4,10 +4,7 @@
#include <unistd.h>
#include <sys/syscall.h>
-extern void * __curbrk;
-libc_hidden_proto(__curbrk)
void * __curbrk = 0;
-libc_hidden_data_def(__curbrk)
#define __NR__brk __NR_brk
attribute_hidden _syscall1(void *, _brk, void *, ptr);
diff --git a/libc/sysdeps/linux/sh/brk.c b/libc/sysdeps/linux/sh/brk.c
index 9e33830ab..b26f74fec 100644
--- a/libc/sysdeps/linux/sh/brk.c
+++ b/libc/sysdeps/linux/sh/brk.c
@@ -12,7 +12,6 @@
libc_hidden_proto(brk)
extern void * __curbrk;
-libc_hidden_proto(__curbrk)
extern int __init_brk (void);
libc_hidden_proto(__init_brk)
diff --git a/libc/sysdeps/linux/sh/sbrk.c b/libc/sysdeps/linux/sh/sbrk.c
index bb66f0148..fd760985e 100644
--- a/libc/sysdeps/linux/sh/sbrk.c
+++ b/libc/sysdeps/linux/sh/sbrk.c
@@ -7,7 +7,6 @@
libc_hidden_proto(sbrk)
extern void * __curbrk;
-libc_hidden_proto(__curbrk)
extern int __init_brk (void);
libc_hidden_proto(__init_brk)