Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/netinet/ip.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/netinet/ip.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.30 retrieving revision 1.31 diff -u -p -r1.30 -r1.31 --- src/sys/netinet/ip.h 2007/12/21 02:07:54 1.30 +++ src/sys/netinet/ip.h 2007/12/25 18:33:46 1.31 @@ -1,4 +1,4 @@ -/* $NetBSD: ip.h,v 1.30 2007/12/21 02:07:54 matt Exp $ */ +/* $NetBSD: ip.h,v 1.31 2007/12/25 18:33:46 perry Exp $ */ /* * Copyright (c) 1982, 1986, 1993 @@ -65,7 +65,7 @@ struct ip { u_int8_t ip_p; /* protocol */ u_int16_t ip_sum; /* checksum */ struct in_addr ip_src, ip_dst; /* source and dest address */ -} __attribute__((__packed__)); +} __packed; #define IP_MAXPACKET 65535 /* maximum packet size */ #define IP_MINFRAGSIZE 69 /* minumum size that can be fraged */ @@ -150,9 +150,9 @@ struct ip_timestamp { struct ipt_ta { struct in_addr ipt_addr; n_time ipt_time; - } ipt_ta[1] __attribute__((__packed__)); - } ipt_timestamp __attribute__((__packed__)); -} __attribute__((__packed__)); + } ipt_ta[1] __packed; + } ipt_timestamp __packed; +} __packed; /* flag bits for ipt_flg */ #define IPOPT_TS_TSONLY 0 /* timestamps only */