Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdlib __inline__ -> inline



details:   https://anonhg.NetBSD.org/src/rev/5e2aac5c8eff
branches:  trunk
changeset: 586530:5e2aac5c8eff
user:      perry <perry%NetBSD.org@localhost>
date:      Sat Dec 24 21:42:02 2005 +0000

description:
__inline__ -> inline

diffstat:

 lib/libc/stdlib/malloc.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 57d5751f1131 -r 5e2aac5c8eff lib/libc/stdlib/malloc.c
--- a/lib/libc/stdlib/malloc.c  Sat Dec 24 21:41:01 2005 +0000
+++ b/lib/libc/stdlib/malloc.c  Sat Dec 24 21:42:02 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: malloc.c,v 1.45 2005/11/29 03:12:00 christos Exp $     */
+/*     $NetBSD: malloc.c,v 1.46 2005/12/24 21:42:02 perry Exp $        */
 
 /*
  * ----------------------------------------------------------------------------
@@ -70,7 +70,7 @@
 #   define UTRACE_LABEL "malloc",
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: malloc.c,v 1.45 2005/11/29 03:12:00 christos Exp $");
+__RCSID("$NetBSD: malloc.c,v 1.46 2005/12/24 21:42:02 perry Exp $");
 #endif /* LIBC_SCCS and not lint */
 #include <sys/types.h>
 int utrace(const char *, void *, size_t);
@@ -627,7 +627,7 @@
  * Allocate a page of fragments
  */
 
-static __inline__ int
+static inline int
 malloc_make_chunks(int bits)
 {
     struct  pginfo *bp;
@@ -874,7 +874,7 @@
  * Free a sequence of pages
  */
 
-static __inline__ void
+static inline void
 free_pages(void *ptr, size_t idx, struct pginfo *info)
 {
     size_t i;
@@ -1005,7 +1005,7 @@
  * 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, size_t idx, struct pginfo *info)
 {
     size_t i;



Home | Main Index | Thread Index | Old Index