diff options
author | alfred <alfred@FreeBSD.org> | 2002-09-23 06:25:08 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-09-23 06:25:08 +0000 |
commit | 9bda36d99712c4dcd253f988e696579f3ce3653c (patch) | |
tree | c64473ad2e9302c65a81387cb678dd7c17089662 /sys/net/if_llc.h | |
parent | d5db7184e3f5c8d842f1e4407084d75fc49e953e (diff) | |
download | FreeBSD-src-9bda36d99712c4dcd253f988e696579f3ce3653c.zip FreeBSD-src-9bda36d99712c4dcd253f988e696579f3ce3653c.tar.gz |
s/__attribute__((__packed__))/__packed/g
Diffstat (limited to 'sys/net/if_llc.h')
-rw-r--r-- | sys/net/if_llc.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/net/if_llc.h b/sys/net/if_llc.h index 3bf5676..368c4e0 100644 --- a/sys/net/if_llc.h +++ b/sys/net/if_llc.h @@ -56,15 +56,15 @@ struct llc { u_int8_t format_id; u_int8_t class; u_int8_t window_x2; - } type_u __attribute__((__packed__)); + } type_u __packed; struct { u_int8_t num_snd_x2; u_int8_t num_rcv_x2; - } type_i __attribute__((__packed__)); + } type_i __packed; struct { u_int8_t control; u_int8_t num_rcv_x2; - } type_s __attribute__((__packed__)); + } type_s __packed; struct { u_int8_t control; /* @@ -76,18 +76,18 @@ struct llc { u_int8_t frmr_control; u_int8_t frmr_control_ext; u_int8_t frmr_cause; - } type_frmr __attribute__((__packed__)); + } type_frmr __packed; struct { u_int8_t control; u_int8_t org_code[3]; u_int16_t ether_type; - } type_snap __attribute__((__packed__)); + } type_snap __packed; struct { u_int8_t control; u_int8_t control_ext; - } type_raw __attribute__((__packed__)); - } llc_un /* XXX __attribute__((__packed__)) ??? */; -} __attribute__((__packed__)); + } type_raw __packed; + } llc_un /* XXX __packed ??? */; +} __packed; struct frmrinfo { u_int8_t frmr_rej_pdu0; @@ -95,7 +95,7 @@ struct frmrinfo { u_int8_t frmr_control; u_int8_t frmr_control_ext; u_int8_t frmr_cause; -} __attribute__((__packed__)); +} __packed; #define llc_control llc_un.type_u.control #define llc_control_ext llc_un.type_raw.control_ext |