diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2014-08-12 01:01:12 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2014-08-12 01:01:12 +0000 |
commit | 3564bd1902a95430645f6b72559f7035c841ff4c (patch) | |
tree | cf92364179b7b2e344e8e912637713b671e68065 /sys/kern | |
parent | 45a8ca66af463ec2e07bc15ff83c1be5cb66a46e (diff) |
bring back r1.134:
inline is the new __inline
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_pool.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c index cca9d0fcba8..72ece2edb3d 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_pool.c,v 1.141 2014/08/12 00:59:27 dlg Exp $ */ +/* $OpenBSD: subr_pool.c,v 1.142 2014/08/12 01:01:11 dlg Exp $ */ /* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */ /*- @@ -140,7 +140,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; @@ -158,7 +158,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; |