From 2a20207a2e98736fec65c61afea3d6a523eee6e9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 23 Aug 2006 22:43:25 +0000 Subject: merge from psm: hide more brk --- libc/sysdeps/linux/common/sbrk.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/common/sbrk.c') 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 #include -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; -- cgit v1.2.3