diff options
author | alfred <alfred@FreeBSD.org> | 2002-09-23 18:54:32 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-09-23 18:54:32 +0000 |
commit | ac315391ceb9f2631fcaa72a6ab3da6255a6598d (patch) | |
tree | 8158103cc2a98a399f6b85e558005d61c5a4bb29 /sys/dev/an | |
parent | 5dc0248605e168960cde445de06c93cf34d5030b (diff) | |
download | FreeBSD-src-ac315391ceb9f2631fcaa72a6ab3da6255a6598d.zip FreeBSD-src-ac315391ceb9f2631fcaa72a6ab3da6255a6598d.tar.gz |
use __packed.
Diffstat (limited to 'sys/dev/an')
-rw-r--r-- | sys/dev/an/if_aironet_ieee.h | 2 | ||||
-rw-r--r-- | sys/dev/an/if_anreg.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/an/if_aironet_ieee.h b/sys/dev/an/if_aironet_ieee.h index 2e110f2..cc0e8a2 100644 --- a/sys/dev/an/if_aironet_ieee.h +++ b/sys/dev/an/if_aironet_ieee.h @@ -592,7 +592,7 @@ struct an_rxframe { u_int16_t an_seq_ctl; /* 0x2A */ u_int8_t an_addr4[6]; /* 0x2C */ u_int8_t an_gaplen; /* 0x32 */ -} __attribute__((packed)); +} __packed; /* Do not modify this unless you are modifying LEAP itself */ diff --git a/sys/dev/an/if_anreg.h b/sys/dev/an/if_anreg.h index 70350ee..a1e1aa2 100644 --- a/sys/dev/an/if_anreg.h +++ b/sys/dev/an/if_anreg.h @@ -242,7 +242,7 @@ struct an_txframe { u_int16_t an_seq_ctl; /* 0x2A */ u_int8_t an_addr4[6]; /* 0x2C */ u_int8_t an_gaplen; /* 0x32 */ -} __attribute__((packed)); +} __packed; struct an_rxframe_802_3 { u_int16_t an_rx_802_3_status; /* 0x34 */ |