summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_node.h
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2018-02-06 22:17:04 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2018-02-06 22:17:04 +0000
commit954f03f4675f5554abc3f7554ce9416b719dd4ab (patch)
treeb53139dd3275f4320481ac06a9c02c0cf10e0c7b /sys/net80211/ieee80211_node.h
parentc6a1038000e3c3a0421ba7d0c6a05a72a1f37c6b (diff)
convert __inline to inline
no binary change on amd64
Diffstat (limited to 'sys/net80211/ieee80211_node.h')
-rw-r--r--sys/net80211/ieee80211_node.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h
index df7fb1cfd1a..c6eb702bbe3 100644
--- a/sys/net80211/ieee80211_node.h
+++ b/sys/net80211/ieee80211_node.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_node.h,v 1.72 2018/02/06 22:14:52 phessler Exp $ */
+/* $OpenBSD: ieee80211_node.h,v 1.73 2018/02/06 22:17:03 phessler Exp $ */
/* $NetBSD: ieee80211_node.h,v 1.9 2004/04/30 22:57:32 dyoung Exp $ */
/*-
@@ -307,7 +307,7 @@ struct ieee80211_node {
RBT_HEAD(ieee80211_tree, ieee80211_node);
-static __inline void
+static inline void
ieee80211_node_incref(struct ieee80211_node *ni)
{
int s;
@@ -317,7 +317,7 @@ ieee80211_node_incref(struct ieee80211_node *ni)
splx(s);
}
-static __inline u_int
+static inline u_int
ieee80211_node_decref(struct ieee80211_node *ni)
{
u_int refcnt;
@@ -329,14 +329,14 @@ ieee80211_node_decref(struct ieee80211_node *ni)
return refcnt;
}
-static __inline struct ieee80211_node *
+static inline struct ieee80211_node *
ieee80211_ref_node(struct ieee80211_node *ni)
{
ieee80211_node_incref(ni);
return ni;
}
-static __inline void
+static inline void
ieee80211_unref_node(struct ieee80211_node **ni)
{
ieee80211_node_decref(*ni);