summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-01 11:55:56 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-01 11:55:56 +0000
commit40f2d136165fc84a0cdccaa2d831eb5382b73403 (patch)
tree56ff21804c2e58e03609caafe1eda8bba2509f79 /libc/sysdeps/linux/bfin
parentbb9b5b976f12b36e1d8c0781b4688c1427cf148d (diff)
I will risk this one: __curbrk
Diffstat (limited to 'libc/sysdeps/linux/bfin')
-rw-r--r--libc/sysdeps/linux/bfin/brk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/bfin/brk.c b/libc/sysdeps/linux/bfin/brk.c
index 3b261697b..1df3ae517 100644
--- a/libc/sysdeps/linux/bfin/brk.c
+++ b/libc/sysdeps/linux/bfin/brk.c
@@ -11,7 +11,10 @@
libc_hidden_proto(brk)
/* This must be initialized data because commons can't have aliases. */
+extern void * __curbrk;
+libc_hidden_proto(__curbrk)
void * __curbrk = 0;
+libc_hidden_data_def(__curbrk)
int brk (void *addr)
{