summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_pool.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2014-07-02 06:02:48 +0000
committerdlg <dlg@openbsd.org>2014-07-02 06:02:48 +0000
commit1b31cd667a7099a7b5126af61fd09df8a761934c (patch)
tree7675dbecf2dbf6453238b7e949bd9a4b865c5479 /sys/kern/subr_pool.c
parentuse pool_count to report the number of pools to userland rather (diff)
downloadwireguard-openbsd-1b31cd667a7099a7b5126af61fd09df8a761934c.tar.xz
wireguard-openbsd-1b31cd667a7099a7b5126af61fd09df8a761934c.zip
inline is the new __inline
Diffstat (limited to 'sys/kern/subr_pool.c')
-rw-r--r--sys/kern/subr_pool.c6
1 files changed, 3 insertions, 3 deletions
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;