summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-01 18:32:52 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-02 16:57:04 +0100
commit491f661f9a1350195c6fa7f4a35964b258a867c2 (patch)
tree5930d5cb6f98bff35a57bff1e9348537725083a3 /libc/stdlib/malloc
parent82b948ef8ffd2770fb09a8640dab82f3cb2af443 (diff)
remove attribute hidden, as the function is used in linuxthreads.old
On avr32/cris the build with MALLOC fails, when compiling linuxthreads.
Diffstat (limited to 'libc/stdlib/malloc')
-rw-r--r--libc/stdlib/malloc/malloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc/malloc.h b/libc/stdlib/malloc/malloc.h
index 53683c479..aa41870b9 100644
--- a/libc/stdlib/malloc/malloc.h
+++ b/libc/stdlib/malloc/malloc.h
@@ -138,7 +138,7 @@ extern int __malloc_mmb_debug;
malloc and free, sbrk may be used several times in succession, and
things will break if these multiple calls are interleaved with another
thread's use of sbrk!). */
-__UCLIBC_MUTEX_EXTERN(__malloc_sbrk_lock) attribute_hidden;
+__UCLIBC_MUTEX_EXTERN(__malloc_sbrk_lock);
# define __malloc_lock_sbrk() __UCLIBC_MUTEX_LOCK_CANCEL_UNSAFE (__malloc_sbrk_lock)
# define __malloc_unlock_sbrk() __UCLIBC_MUTEX_UNLOCK_CANCEL_UNSAFE (__malloc_sbrk_lock)
#else