From 1b31cd667a7099a7b5126af61fd09df8a761934c Mon Sep 17 00:00:00 2001 From: dlg Date: Wed, 2 Jul 2014 06:02:48 +0000 Subject: inline is the new __inline --- sys/kern/subr_pool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/kern/subr_pool.c') diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c index d3966d11301..026b1e77857 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_pool.c,v 1.133 2014/07/02 06:01:25 dlg Exp $ */ +/* $OpenBSD: subr_pool.c,v 1.134 2014/07/02 06:02:48 dlg Exp $ */ /* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */ /*- @@ -144,7 +144,7 @@ void pool_print1(struct pool *, const char *, int (*)(const char *, ...) #define pool_sleep(pl) msleep(pl, &pl->pr_mtx, PSWP, pl->pr_wchan, 0) -static __inline int +static inline int phtree_compare(struct pool_item_header *a, struct pool_item_header *b) { long diff = (vaddr_t)a->ph_page - (vaddr_t)b->ph_page; @@ -162,7 +162,7 @@ RB_GENERATE(phtree, pool_item_header, ph_node, phtree_compare); /* * Return the pool page header based on page address. */ -static __inline struct pool_item_header * +static inline struct pool_item_header * pr_find_pagehead(struct pool *pp, void *v) { struct pool_item_header *ph, tmp; -- cgit v1.2.3-59-g8ed1b