The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=3fca90af438ac4232d6b33ee4874297089997dd6
commit 3fca90af438ac4232d6b33ee4874297089997dd6 Author: Bjoern A. Zeeb <[email protected]> AuthorDate: 2021-03-07 17:35:58 +0000 Commit: Bjoern A. Zeeb <[email protected]> CommitDate: 2021-03-07 17:35:58 +0000 net80211: ratectl header guard against multiple inclusions Add missing #ifndef/#define/#endif guards against multiple inclusions to ieee80211_ratectl.h as they are missing. MFC after: 3 days Sponsored-by: Rubicon Communications, LLC ("Netgate") --- sys/net80211/ieee80211_ratectl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/net80211/ieee80211_ratectl.h b/sys/net80211/ieee80211_ratectl.h index d147421a0364..6890e74bf518 100644 --- a/sys/net80211/ieee80211_ratectl.h +++ b/sys/net80211/ieee80211_ratectl.h @@ -27,6 +27,9 @@ * $FreeBSD$ */ +#ifndef _NET80211_IEEE80211_RATECTL_H_ +#define _NET80211_IEEE80211_RATECTL_H_ + enum ieee80211_ratealgs { IEEE80211_RATECTL_AMRR = 0, IEEE80211_RATECTL_RSSADAPT = 1, @@ -169,3 +172,5 @@ ieee80211_ratectl_node_stats(struct ieee80211_node *ni, struct sbuf *s) return; vap->iv_rate->ir_node_stats(ni, s); } + +#endif /* _NET80211_IEEE80211_RATECTL_H_ */ _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "[email protected]"
