aboutsummaryrefslogtreecommitdiff
path: root/sys/pc98
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-09-23 18:54:32 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-09-23 18:54:32 +0000
commit4f492bfab53a4732222656e2be91c50a2df9e13c (patch)
tree8158103cc2a98a399f6b85e558005d61c5a4bb29 /sys/pc98
parentb8581e0d567d1cdf5ddb03df7e535ffd181347f7 (diff)
Notes
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/pc98/wd_cd.h2
-rw-r--r--sys/pc98/pc98/wst.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/pc98/wd_cd.h b/sys/pc98/pc98/wd_cd.h
index 8a6001c1f4ca..1255546dcb1f 100644
--- a/sys/pc98/pc98/wd_cd.h
+++ b/sys/pc98/pc98/wd_cd.h
@@ -281,7 +281,7 @@ struct write_param {
u_char vendor_specific_byte3;
*/
-} __attribute__((packed));
+} __packed;
/*
* CDROM Read Track Information structure
*/
diff --git a/sys/pc98/pc98/wst.c b/sys/pc98/pc98/wst.c
index 5955610e1bf4..a6dbe1ba632a 100644
--- a/sys/pc98/pc98/wst.c
+++ b/sys/pc98/pc98/wst.c
@@ -160,7 +160,7 @@ struct wst_reqsense {
u_int ili :1; /* Incorrect Length Indicator */
u_int eom :1; /* End Of Medium */
u_int filemark :1; /* Filemark */
- u_int info __attribute__((packed)); /* Cmd specific info */
+ u_int info __packed; /* Cmd specific info */
u_char asl; /* Additional sense length (n-7) */
u_int command_specific; /* Additional cmd specific info */
u_char asc; /* Additional Sense Code */