Mark 'struct spx' and 'struct spxhdr' as __packed to prevent possible

alignment problems.

MFC after:	3 days
This commit is contained in:
rwatson 2005-01-02 15:06:47 +00:00
parent 979b67f320
commit 2f7b65ed9a

View File

@ -55,7 +55,7 @@ struct spxhdr {
u_short spx_seq; /* sequence number */
u_short spx_ack; /* acknowledge number */
u_short spx_alo; /* allocation number */
};
} __packed;
/*
* Definitions for NS(tm) Internet Datagram Protocol
@ -64,7 +64,7 @@ struct spxhdr {
struct spx {
struct ipx si_i;
struct spxhdr si_s;
};
} __packed;
struct spx_q {
struct spx_q *si_next;
struct spx_q *si_prev;