summaryrefslogtreecommitdiff
path: root/sys/net80211
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-06-17 19:26:01 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-06-17 19:26:01 +0000
commitd57bb2247cb6a87a42b94b5a108a935ec057850e (patch)
tree7e1d10334269a74b4e63806299cda2d611a9c705 /sys/net80211
parent450bd603f12aa3967b92c42500ad81f481d392f0 (diff)
protect those files against multiple inclusions too.
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_amrr.h6
-rw-r--r--sys/net80211/ieee80211_rssadapt.h6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_amrr.h b/sys/net80211/ieee80211_amrr.h
index 5e49b3e9249..129de496b95 100644
--- a/sys/net80211/ieee80211_amrr.h
+++ b/sys/net80211/ieee80211_amrr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_amrr.h,v 1.1 2006/06/17 19:07:19 damien Exp $ */
+/* $OpenBSD: ieee80211_amrr.h,v 1.2 2006/06/17 19:26:00 damien Exp $ */
/*-
* Copyright (c) 2006
@@ -16,6 +16,8 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef _NET80211_IEEE80211_AMRR_H_
+#define _NET80211_IEEE80211_AMRR_H_
/*-
* Naive implementation of the Adaptive Multi Rate Retry algorithm:
@@ -52,3 +54,5 @@ void ieee80211_amrr_node_init(struct ieee80211_amrr *,
struct ieee80211_amrr_node *);
void ieee80211_amrr_choose(struct ieee80211_amrr *, struct ieee80211_node *,
struct ieee80211_amrr_node *);
+
+#endif /* _NET80211_IEEE80211_AMRR_H_ */
diff --git a/sys/net80211/ieee80211_rssadapt.h b/sys/net80211/ieee80211_rssadapt.h
index 21f4bc61776..983c813a780 100644
--- a/sys/net80211/ieee80211_rssadapt.h
+++ b/sys/net80211/ieee80211_rssadapt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_rssadapt.h,v 1.2 2005/09/08 13:24:53 reyk Exp $ */
+/* $OpenBSD: ieee80211_rssadapt.h,v 1.3 2006/06/17 19:26:00 damien Exp $ */
/* $NetBSD: ieee80211_rssadapt.h,v 1.3 2004/05/06 03:03:20 dyoung Exp $ */
/*-
@@ -30,6 +30,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
* OF SUCH DAMAGE.
*/
+#ifndef _NET80211_IEEE80211_RSSADAPT_H_
+#define _NET80211_IEEE80211_RSSADAPT_H_
/* Data-rate adaptation loosely based on "Link Adaptation Strategy
* for IEEE 802.11 WLAN via Received Signal Strength Measurement"
@@ -100,3 +102,5 @@ int ieee80211_rssadapt_choose(struct ieee80211_rssadapt *,
#ifdef IEEE80211_DEBUG
extern int ieee80211_rssadapt_debug;
#endif /* IEEE80211_DEBUG */
+
+#endif /* _NET80211_IEEE80211_RSSADAPT_H_ */