summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-02-01 17:19:46 +0000
committerache <ache@FreeBSD.org>1996-02-01 17:19:46 +0000
commit8e4aa03a96f8f9dc0fe2e729ed01a1a76a45802f (patch)
tree0a7ec65ad543d7a6a1bca9aba6623b2742aaf21a
parent3886ec630b29e67328d4bc0fe20fa4930ed43413 (diff)
downloadFreeBSD-src-8e4aa03a96f8f9dc0fe2e729ed01a1a76a45802f.zip
FreeBSD-src-8e4aa03a96f8f9dc0fe2e729ed01a1a76a45802f.tar.gz
Return to #pragma pack(4) after header is done
Obtained from: NetBSD
-rw-r--r--sys/dev/mcd/mcdreg.h7
-rw-r--r--sys/i386/isa/mcdreg.h7
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 */
OpenPOWER on IntegriCloud