summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc/free.c
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2002-08-30 05:15:31 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2002-08-30 05:15:31 +0000
commit505ca20e32a8c51e05f41e94971eb4590002cd12 (patch)
tree35136e9c8dc9dddc9b2d99d3f744ebd01ff6b6fd /libc/stdlib/malloc/free.c
parent0f66c96633b67370be9c490491f993c29536a4d7 (diff)
Use `likely' & `unlikely' instead of the `__malloc_'-prefixed versions.
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 cb08d9e60..ac842fc67 100644
--- a/libc/stdlib/malloc/free.c
+++ b/libc/stdlib/malloc/free.c
@@ -27,7 +27,7 @@ free (void *mem)
struct heap *heap = &__malloc_heap;
/* Check for special cases. */
- if (__malloc_unlikely (! mem))
+ if (unlikely (! mem))
return;
/* Normal free. */