summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc/free.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-21 14:43:50 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:30 +0200
commit3b879e2627693437365b0966d56223c4f00f8d60 (patch)
tree4aec66ea96ba06e230c91626954a259de96b36cb /libc/stdlib/malloc/free.c
parente75dfc1f73715d8cfe8fbd5998b111506d8881de (diff)
malloc: use uClibc_mutex.h provided macros consequently
use the __UCLIBC_MUTEX macros remove unused code remove duplicated code (likely,unlikely) hide internal __x() functions (mainly debug related) Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdlib/malloc/free.c')
-rw-r--r--libc/stdlib/malloc/free.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc/free.c b/libc/stdlib/malloc/free.c
index e7b6a290a..14d110153 100644
--- a/libc/stdlib/malloc/free.c
+++ b/libc/stdlib/malloc/free.c
@@ -28,7 +28,7 @@
static void
__free_to_heap (void *mem, struct heap_free_area **heap
#ifdef HEAP_USE_LOCKING
- , malloc_mutex_t *heap_lock
+ , __UCLIBC_MUTEX_TYPE *heap_lock
#endif
)
{