From 8e4aa03a96f8f9dc0fe2e729ed01a1a76a45802f Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 1 Feb 1996 17:19:46 +0000 Subject: Return to #pragma pack(4) after header is done Obtained from: NetBSD --- sys/dev/mcd/mcdreg.h | 7 ++++++- sys/i386/isa/mcdreg.h | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/sys/dev/mcd/mcdreg.h b/sys/dev/mcd/mcdreg.h index 4c21b12..2b40059 100644 --- a/sys/dev/mcd/mcdreg.h +++ b/sys/dev/mcd/mcdreg.h @@ -41,7 +41,7 @@ * the manufacturer or anyone else might provide better documentation, * so this file (and the driver) will then have a better quality. * - * $Id: mcdreg.h,v 1.8 1995/05/30 08:02:45 rgrimes Exp $ + * $Id: mcdreg.h,v 1.9 1996/01/30 10:31:12 ache Exp $ */ #ifndef MCD_H @@ -218,4 +218,9 @@ struct mcd_rawsector { u_char ecc_bits[280]; }; +#ifdef __GNUC__ +#if __GNUC__ >= 2 +#pragma pack(4) +#endif +#endif #endif /* MCD_H */ diff --git a/sys/i386/isa/mcdreg.h b/sys/i386/isa/mcdreg.h index 4c21b12..2b40059 100644 --- a/sys/i386/isa/mcdreg.h +++ b/sys/i386/isa/mcdreg.h @@ -41,7 +41,7 @@ * the manufacturer or anyone else might provide better documentation, * so this file (and the driver) will then have a better quality. * - * $Id: mcdreg.h,v 1.8 1995/05/30 08:02:45 rgrimes Exp $ + * $Id: mcdreg.h,v 1.9 1996/01/30 10:31:12 ache Exp $ */ #ifndef MCD_H @@ -218,4 +218,9 @@ struct mcd_rawsector { u_char ecc_bits[280]; }; +#ifdef __GNUC__ +#if __GNUC__ >= 2 +#pragma pack(4) +#endif +#endif #endif /* MCD_H */ -- cgit v1.1