summaryrefslogtreecommitdiffstats
path: root/sys/net/iso88025.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-09-23 06:35:33 +0000
committeralfred <alfred@FreeBSD.org>2002-09-23 06:35:33 +0000
commit2b5b784b491d192ab46d1b726f8360853845b3df (patch)
tree295b33ef6690d798da620565cc0d141598eaff46 /sys/net/iso88025.h
parentfea0b727876e77b06fa785680c9eabf0b6f2e8a0 (diff)
downloadFreeBSD-src-2b5b784b491d192ab46d1b726f8360853845b3df.zip
FreeBSD-src-2b5b784b491d192ab46d1b726f8360853845b3df.tar.gz
use __packed/__aligned rather than GCC-specific __attribute__.
Diffstat (limited to 'sys/net/iso88025.h')
-rw-r--r--sys/net/iso88025.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/iso88025.h b/sys/net/iso88025.h
index ad3e93a..a8e6872 100644
--- a/sys/net/iso88025.h
+++ b/sys/net/iso88025.h
@@ -95,12 +95,12 @@ struct iso88025_header {
u_int8_t iso88025_shost[ISO88025_ADDR_LEN]; /* source address */
u_int16_t rcf; /* route control field */
u_int16_t rd[RIF_MAX_RD]; /* routing designators */
-} __attribute__ ((__packed__));
+} __packed;
struct iso88025_rif {
u_int16_t rcf; /* route control field */
u_int16_t rd[RIF_MAX_RD]; /* routing designators */
-} __attribute__ ((__packed__));
+} __packed;
struct iso88025_sockaddr_data {
u_char ether_dhost[ISO88025_ADDR_LEN];
OpenPOWER on IntegriCloud