Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet One more __attribute__((__packed__)) to dissuade...



details:   https://anonhg.NetBSD.org/src/rev/0f5af7a51997
branches:  trunk
changeset: 485654:0f5af7a51997
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Tue May 02 14:15:07 2000 +0000

description:
One more __attribute__((__packed__)) to dissuade egcs from making
unwarranted asumptions about the structure's alignment.

diffstat:

 sys/netinet/ip.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4c3540a9aa0d -r 0f5af7a51997 sys/netinet/ip.h
--- a/sys/netinet/ip.h  Tue May 02 13:59:20 2000 +0000
+++ b/sys/netinet/ip.h  Tue May 02 14:15:07 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip.h,v 1.20 1999/11/20 00:37:59 thorpej Exp $  */
+/*     $NetBSD: ip.h,v 1.21 2000/05/02 14:15:07 sommerfeld Exp $       */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -148,7 +148,7 @@
                        struct in_addr ipt_addr;
                        n_time ipt_time;
                 } ipt_ta[1] __attribute__((__packed__));
-       } ipt_timestamp /* XXX __attribute__((__packed__)) ??? */;
+       } ipt_timestamp __attribute__((__packed__));
 };
 
 /* flag bits for ipt_flg */



Home | Main Index | Thread Index | Old Index