summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2002-08-01 07:46:55 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2002-08-01 07:46:55 +0000
commitb1723348b5583c6eb489cb147994d64fe6923b35 (patch)
treeeb1416f212fca324a74905a5b35a847c1e14270e /libc/stdlib
parent5d88651fa9802414111f933a504ad335535faf71 (diff)
Use MALLOC_REALLOC_MIN_FREE_SIZE.
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/malloc/realloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc/realloc.c b/libc/stdlib/malloc/realloc.c
index f1b78fcbc..7188bc897 100644
--- a/libc/stdlib/malloc/realloc.c
+++ b/libc/stdlib/malloc/realloc.c
@@ -61,7 +61,7 @@ realloc (void *mem, size_t new_size)
mem = new_mem;
}
}
- else if (new_size + HEAP_MIN_FREE_AREA_SIZE <= size)
+ else if (new_size + MALLOC_REALLOC_MIN_FREE_SIZE <= size)
/* Shrink the block. */
{
__malloc_lock ();