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!")
This commit is contained in:
cgd 2000-06-08 18:22:15 +00:00
parent 94ffeedb49
commit 625dbd8f87
2 changed files with 4 additions and 5 deletions

View File

@ -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 @@ struct uha_mscp {
bus_dmamap_t dmamap_xfer;
};
#pragma pack(4)
#pragma pack()

View File

@ -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 @@ struct mcd_rawsector {
};
#if __GNUC__ >= 2
#pragma pack(4)
#pragma pack()
#endif