-/* $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 $ */
/*-
RBT_HEAD(ieee80211_tree, ieee80211_node);
-static __inline void
+static inline void
ieee80211_node_incref(struct ieee80211_node *ni)
{
int s;
splx(s);
}
-static __inline u_int
+static inline u_int
ieee80211_node_decref(struct ieee80211_node *ni)
{
u_int refcnt;
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);