summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2006-06-27 04:25:13 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2006-06-27 04:25:13 +0000
commit9af4b370f3e4aa906eb83f82e17c16b7db0b7217 (patch)
tree822fd3e61f50e49b50bd8452d81c00d74dbf44c6 /sys/dev/ic
parentb39f71c2f88768b3eca7ec1c5073d36c13138188 (diff)
__attribute__((__packed__)) -> __packed
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/atwvar.h6
-rw-r--r--sys/dev/ic/rtwvar.h6
2 files changed, 6 insertions, 6 deletions
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 */