summaryrefslogtreecommitdiff
path: root/sys/dev/isa/mcdreg.h
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-11-16 20:30:08 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-11-16 20:30:08 +0000
commit4e13879e64b64a3bf17cb067b974522e66b3a70e (patch)
tree46805a15b406a5fde2f0d261f52111f68d5a812d /sys/dev/isa/mcdreg.h
parent95c782cbe9adab15695a4d56e505761194cc49ee (diff)
convert __attribute__((__packed__)) to __packed so that parsers unaware
of gcc extensions have more of a chance. ok mcbride@, no objections from millert@, deraadt@
Diffstat (limited to 'sys/dev/isa/mcdreg.h')
-rw-r--r--sys/dev/isa/mcdreg.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/isa/mcdreg.h b/sys/dev/isa/mcdreg.h
index effa19f7d25..9a527d2b892 100644
--- a/sys/dev/isa/mcdreg.h
+++ b/sys/dev/isa/mcdreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mcdreg.h,v 1.5 2000/12/06 17:18:41 deraadt Exp $ */
+/* $OpenBSD: mcdreg.h,v 1.6 2003/11/16 20:30:06 avsm Exp $ */
/* $NetBSD: mcdreg.h,v 1.8 1997/04/04 18:59:37 christos Exp $ */
/*
@@ -163,14 +163,14 @@ union mcd_qchninfo {
u_char upccode[7];
u_char junk[2];
} upc;
-} __attribute__((__packed__));
+} __packed;
struct mcd_volinfo {
bcd_t trk_low;
bcd_t trk_high;
bcd_t vol_msf[3];
bcd_t trk1_msf[3];
-} __attribute__((__packed__));
+} __packed;
struct mcd_result {
u_char length;
@@ -185,7 +185,7 @@ struct mcd_result {
union mcd_qchninfo qchninfo;
struct mcd_volinfo volinfo;
} data;
-} __attribute__((__packed__));
+} __packed;
struct mcd_command {
u_char opcode;
@@ -223,19 +223,19 @@ struct mcd_command {
u_char data1, data2;
} config;
} data;
-} __attribute__((__packed__));
+} __packed;
struct mcd_mbox {
struct mcd_command cmd;
struct mcd_result res;
-} __attribute__((__packed__));
+} __packed;
struct mcd_volume {
u_char v0l;
u_char v0rs;
u_char v0r;
u_char v0ls;
-} __attribute__((__packed__));
+} __packed;
struct mcd_rawsector {
u_char sync1[12];
@@ -244,4 +244,4 @@ struct mcd_rawsector {
u_char subheader2[4];
u_char data[MCD_BLKSIZE_COOKED];
u_char ecc_bits[280];
-} __attribute__((__packed__));
+} __packed;