Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev in allegedly-MI code, if we're gonna use '#pragma pa...
details: https://anonhg.NetBSD.org/src/rev/5173c1b2548e
branches: trunk
changeset: 487499:5173c1b2548e
user: cgd <cgd%NetBSD.org@localhost>
date: Thu Jun 08 18:22:15 2000 +0000
description:
in allegedly-MI code, if we're gonna use '#pragma pack(N)', #pragma pack()
should be used to reset the packing. (#pragma pack(4) was used here
before. "wrong!")
diffstat:
sys/dev/ic/uhareg.h | 5 ++---
sys/dev/isa/mcdreg.h | 4 ++--
2 files changed, 4 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r ee5d09dab0ff -r 5173c1b2548e sys/dev/ic/uhareg.h
--- a/sys/dev/ic/uhareg.h Thu Jun 08 17:59:32 2000 +0000
+++ b/sys/dev/ic/uhareg.h Thu Jun 08 18:22:15 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhareg.h,v 1.7 1998/08/17 00:26:34 mycroft Exp $ */
+/* $NetBSD: uhareg.h,v 1.8 2000/06/08 18:22:15 cgd Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -242,5 +242,4 @@
bus_dmamap_t dmamap_xfer;
};
-#pragma pack(4)
-
+#pragma pack()
diff -r ee5d09dab0ff -r 5173c1b2548e sys/dev/isa/mcdreg.h
--- a/sys/dev/isa/mcdreg.h Thu Jun 08 17:59:32 2000 +0000
+++ b/sys/dev/isa/mcdreg.h Thu Jun 08 18:22:15 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcdreg.h,v 1.8 1997/04/04 18:59:37 christos Exp $ */
+/* $NetBSD: mcdreg.h,v 1.9 2000/06/08 18:22:16 cgd Exp $ */
/*
* Copyright 1993 by Holger Veit (data part)
@@ -250,5 +250,5 @@
};
#if __GNUC__ >= 2
-#pragma pack(4)
+#pragma pack()
#endif
Home |
Main Index |
Thread Index |
Old Index