summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2006-06-27 04:18:05 +0000
committerjsg <jsg@openbsd.org>2006-06-27 04:18:05 +0000
commit2e3e3512a910b47430241741826dd4653025a6bd (patch)
tree7c6c22a9081d953af2c626bc1a9cf29c69a3baf3
parentanother man page for lazy Dale! (diff)
downloadwireguard-openbsd-2e3e3512a910b47430241741826dd4653025a6bd.tar.xz
wireguard-openbsd-2e3e3512a910b47430241741826dd4653025a6bd.zip
__attribute__((__packed__)) -> __packed
-rw-r--r--share/man/man9/ieee80211_radiotap.98
-rw-r--r--sys/dev/ic/atwvar.h6
-rw-r--r--sys/dev/ic/rtwvar.h6
-rw-r--r--sys/dev/usb/if_atureg.h6
4 files changed, 13 insertions, 13 deletions
diff --git a/share/man/man9/ieee80211_radiotap.9 b/share/man/man9/ieee80211_radiotap.9
index 286eb7e75ec..021dd1af6ce 100644
--- a/share/man/man9/ieee80211_radiotap.9
+++ b/share/man/man9/ieee80211_radiotap.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ieee80211_radiotap.9,v 1.6 2005/09/30 20:34:25 jaredy Exp $
+.\" $OpenBSD: ieee80211_radiotap.9,v 1.7 2006/06/27 04:18:05 jsg Exp $
.\"
.\" Copyright (c) 2004 Bruce M. Simpson <bms@spc.org>,
.\" Darron Broad <darron@kewl.org>,
@@ -27,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD: src/share/man/man9/ieee80211_radiotap.9,v 1.3 2004/07/07 12:59:39 ru Exp $
-.\" $Id: ieee80211_radiotap.9,v 1.6 2005/09/30 20:34:25 jaredy Exp $
+.\" $Id: ieee80211_radiotap.9,v 1.7 2006/06/27 04:18:05 jsg Exp $
.\"
.Dd March 2, 2004
.Dt IEEE80211_RADIOTAP 9
@@ -83,7 +83,7 @@ struct ieee80211_radiotap_header {
u_int8_t it_pad;
u_int16_t it_len; /* entire length */
u_int32_t it_present; /* fields present */
-} __attribute__((__packed__));
+} __packed;
.Ed
.Pp
.\"
@@ -211,7 +211,7 @@ struct rtw_rx_radiotap_header {
u_int16_t rr_chan_flags;
u_int16_t rr_barker_lock;
u_int8_t rr_antsignal;
-} __attribute__((__packed__));
+} __packed;
.Ed
.Pp
Bitmap indicating which fields are present in the above structure:
diff --git a/sys/dev/ic/atwvar.h b/sys/dev/ic/atwvar.h
index 1ed930bb605..e1e23c11116 100644
--- a/sys/dev/ic/atwvar.h
+++ b/sys/dev/ic/atwvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: atwvar.h,v 1.11 2006/02/17 11:07:44 jsg Exp $ */
+/* $OpenBSD: atwvar.h,v 1.12 2006/06/27 04:25:12 jsg Exp $ */
/* $NetBSD: atwvar.h,v 1.13 2004/07/23 07:07:55 dyoung Exp $ */
/*
@@ -165,7 +165,7 @@ struct atw_rx_radiotap_header {
u_int16_t ar_chan_freq;
u_int16_t ar_chan_flags;
u_int8_t ar_antsignal;
-} __attribute__((__packed__));
+} __packed;
#define ATW_TX_RADIOTAP_PRESENT ((1 << IEEE80211_RADIOTAP_FLAGS) | \
(1 << IEEE80211_RADIOTAP_RATE) | \
@@ -177,7 +177,7 @@ struct atw_tx_radiotap_header {
u_int8_t at_rate;
u_int16_t at_chan_freq;
u_int16_t at_chan_flags;
-} __attribute__((__packed__));
+} __packed;
enum atw_revision {
ATW_REVISION_AB = 0x11, /* ADM8211A */
diff --git a/sys/dev/ic/rtwvar.h b/sys/dev/ic/rtwvar.h
index f24e95c6439..e5936aaeabe 100644
--- a/sys/dev/ic/rtwvar.h
+++ b/sys/dev/ic/rtwvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtwvar.h,v 1.21 2006/01/05 05:36:06 jsg Exp $ */
+/* $OpenBSD: rtwvar.h,v 1.22 2006/06/27 04:25:12 jsg Exp $ */
/* $NetBSD: rtwvar.h,v 1.10 2004/12/26 22:37:57 mycroft Exp $ */
/*-
@@ -267,7 +267,7 @@ struct rtw_rx_radiotap_header {
u_int16_t rr_chan_flags;
u_int16_t rr_barker_lock;
u_int8_t rr_antsignal;
-} __attribute__((__packed__));
+} __packed;
#define RTW_TX_RADIOTAP_PRESENT \
((1 << IEEE80211_RADIOTAP_FLAGS) | \
@@ -281,7 +281,7 @@ struct rtw_tx_radiotap_header {
u_int8_t rt_rate;
u_int16_t rt_chan_freq;
u_int16_t rt_chan_flags;
-} __attribute__((__packed__));
+} __packed;
struct rtw_hooks {
void *rh_shutdown; /* shutdown hook */
diff --git a/sys/dev/usb/if_atureg.h b/sys/dev/usb/if_atureg.h
index 4d02db44c7f..7cf03e62eb7 100644
--- a/sys/dev/usb/if_atureg.h
+++ b/sys/dev/usb/if_atureg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_atureg.h,v 1.26 2006/06/27 03:58:07 jsg Exp $ */
+/* $OpenBSD: if_atureg.h,v 1.27 2006/06/27 04:21:13 jsg Exp $ */
/*
* Copyright (c) 2003
* Daan Vreeken <Danovitsch@Vitsch.net>. All rights reserved.
@@ -137,7 +137,7 @@ struct atu_rx_radiotap_header {
u_int16_t rr_barker_lock;
u_int8_t rr_rssi;
u_int8_t rr_max_rssi;
-} __attribute__((__packed__));
+} __packed;
#define ATU_TX_RADIOTAP_PRESENT \
((1 << IEEE80211_RADIOTAP_FLAGS) | \
@@ -151,7 +151,7 @@ struct atu_tx_radiotap_header {
u_int8_t rt_rate;
u_int16_t rt_chan_freq;
u_int16_t rt_chan_flags;
-} __attribute__((__packed__));
+} __packed;
struct atu_cdata {
struct atu_chain atu_tx_chain[ATU_TX_LIST_CNT];