summaryrefslogtreecommitdiffstats
path: root/sys/netncp/ncp_ncp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netncp/ncp_ncp.h')
-rw-r--r--sys/netncp/ncp_ncp.h6
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;
OpenPOWER on IntegriCloud