From 9dea8aeba1c4f733fc95d1dfd11cfc8d3092a654 Mon Sep 17 00:00:00 2001 From: stefanf Date: Sun, 4 Jul 2004 16:11:03 +0000 Subject: Consistently use __inline instead of __inline__ as the former is an empty macro in for compilers without support for inline. --- lib/libc/stdlib/malloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 153c517..7b69863 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -596,7 +596,7 @@ malloc_pages(size_t size) * Allocate a page of fragments */ -static __inline__ int +static __inline int malloc_make_chunks(int bits) { struct pginfo *bp; @@ -845,7 +845,7 @@ irealloc(void *ptr, size_t size) * Free a sequence of pages */ -static __inline__ void +static __inline void free_pages(void *ptr, u_long index, struct pginfo const *info) { u_long i; @@ -979,7 +979,7 @@ free_pages(void *ptr, u_long index, struct pginfo const *info) * Free a chunk, and possibly the page it's on, if the page becomes empty. */ -static __inline__ void +static __inline void free_bytes(void *ptr, u_long index, struct pginfo *info) { int i; -- cgit v1.1