From dd7d7e3f138d1835d153c316f3d771e40dc641ba Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Thu, 31 Jul 2008 15:21:24 +0000 Subject: Synch with trunk at rev 22997. Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso --- libc/stdlib/malloc/heap_alloc_at.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/stdlib/malloc/heap_alloc_at.c') diff --git a/libc/stdlib/malloc/heap_alloc_at.c b/libc/stdlib/malloc/heap_alloc_at.c index 296c6e552..a65140fea 100644 --- a/libc/stdlib/malloc/heap_alloc_at.c +++ b/libc/stdlib/malloc/heap_alloc_at.c @@ -32,7 +32,7 @@ __heap_alloc_at (struct heap *heap, void *mem, size_t size) for (fa = heap->free_areas; fa; fa = fa->next) { void *fa_mem = HEAP_FREE_AREA_START (fa); - if (fa_mem <= mem) + if (fa_mem <= mem) { if (fa_mem == mem && fa->size >= size) /* FA has the right addr, and is big enough! */ -- cgit v1.2.3