summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-23 22:43:25 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-23 22:43:25 +0000
commit2a20207a2e98736fec65c61afea3d6a523eee6e9 (patch)
tree78d7188fa00c6856e8ea2b9ba048a2100271b3ad /libc
parente2170c5ed9f7ad7c71c59f31f7e156a04ddaf16e (diff)
merge from psm: hide more brk
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/sbrk.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/sbrk.c b/libc/sysdeps/linux/common/sbrk.c
index f8b568262..4ac2d2a21 100644
--- a/libc/sysdeps/linux/common/sbrk.c
+++ b/libc/sysdeps/linux/common/sbrk.c
@@ -7,16 +7,15 @@
#include <unistd.h>
#include <errno.h>
-libc_hidden_proto(sbrk)
-
libc_hidden_proto(brk)
/* Defined in brk.c. */
-extern void *__curbrk;
+extern void *__curbrk attribute_hidden;
/* Extend the process's data space by INCREMENT.
If INCREMENT is negative, shrink data space by - INCREMENT.
Return start of new space allocated, or -1 for errors. */
+libc_hidden_proto(sbrk)
void * sbrk (intptr_t increment)
{
void *oldbrk;