From: phessler Date: Tue, 6 Feb 2018 22:17:03 +0000 (+0000) Subject: convert __inline to inline X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2edbedcfbab4897f961689470e94c690ac3da4df;p=openbsd convert __inline to inline no binary change on amd64 --- 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);