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/netncp/ncp_ncp.h | |
parent | 5dc0248605e168960cde445de06c93cf34d5030b (diff) | |
download | FreeBSD-src-ac315391ceb9f2631fcaa72a6ab3da6255a6598d.zip FreeBSD-src-ac315391ceb9f2631fcaa72a6ab3da6255a6598d.tar.gz |
use __packed.
Diffstat (limited to 'sys/netncp/ncp_ncp.h')
-rw-r--r-- | sys/netncp/ncp_ncp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netncp/ncp_ncp.h b/sys/netncp/ncp_ncp.h index d715399..68c0042 100644 --- a/sys/netncp/ncp_ncp.h +++ b/sys/netncp/ncp_ncp.h @@ -62,7 +62,7 @@ struct ncp_rqhdr { u_int8_t conn_high; u_int8_t fn; u_int8_t data[0]; -} __attribute__((packed)); +} __packed; struct ncp_rphdr { @@ -74,7 +74,7 @@ struct ncp_rphdr { u_int8_t completion_code; u_int8_t connection_state; u_int8_t data[0]; -}__attribute__((packed)); +}__packed; #define BFL_ABT 0x04 #define BFL_EOB 0x10 @@ -103,7 +103,7 @@ struct ncp_bursthdr { u_long bh_dofs; /* HL */ u_short bh_dlen; /* HL */ u_short bh_misfrags; /* HL */ -} __attribute__((packed)); +} __packed; struct ncp_conn; struct ncp_conn_args; |