diff options
author | stefanf <stefanf@FreeBSD.org> | 2004-07-04 16:11:03 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2004-07-04 16:11:03 +0000 |
commit | 9dea8aeba1c4f733fc95d1dfd11cfc8d3092a654 (patch) | |
tree | 0e3fe3a61275cb24fb693e8710ebc6420adf5306 /lib | |
parent | c8bc9c77afa1fbbf704376606a236020afdfba8e (diff) | |
download | FreeBSD-src-9dea8aeba1c4f733fc95d1dfd11cfc8d3092a654.zip FreeBSD-src-9dea8aeba1c4f733fc95d1dfd11cfc8d3092a654.tar.gz |
Consistently use __inline instead of __inline__ as the former is an empty macro
in <sys/cdefs.h> for compilers without support for inline.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdlib/malloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |