summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 03:16:15 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 03:16:15 +0000
commite63dc855fe4ff1aa0029ebf9813134860a34ccdf (patch)
treec2aa960c67a99a878c8902943399029fa598683f /sys/scsi
parent71eb96ce8a9190e7ffeccbabd7a5ec4f3b4fc72f (diff)
Final __P removal plus some cosmetic fixups
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/cd.c6
-rw-r--r--sys/scsi/ss.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index 92600593bc5..c767d494c84 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd.c,v 1.59 2002/03/14 01:27:13 millert Exp $ */
+/* $OpenBSD: cd.c,v 1.60 2002/03/14 03:16:12 millert Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
@@ -1010,7 +1010,7 @@ cdioctl(dev, cmd, addr, flag, p)
}
case CDIOREADMSADDR: {
struct cd_toc *toc;
- int sessno = *(int*)addr;
+ int sessno = *(int *)addr;
struct cd_toc_entry *cte;
if (sessno != 0) {
@@ -1043,7 +1043,7 @@ cdioctl(dev, cmd, addr, flag, p)
else
toc->header.len = ntohs(toc->header.len);
- *(int*)addr = (toc->header.len >= 10 && cte->track > 1) ?
+ *(int *)addr = (toc->header.len >= 10 && cte->track > 1) ?
cte->addr.lba : 0;
FREE(toc, M_DEVBUF);
break;
diff --git a/sys/scsi/ss.c b/sys/scsi/ss.c
index c84d9e260cf..2acff32f95a 100644
--- a/sys/scsi/ss.c
+++ b/sys/scsi/ss.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ss.c,v 1.44 2002/03/14 01:27:13 millert Exp $ */
+/* $OpenBSD: ss.c,v 1.45 2002/03/14 03:16:12 millert Exp $ */
/* $NetBSD: ss.c,v 1.10 1996/05/05 19:52:55 christos Exp $ */
/*
@@ -853,7 +853,7 @@ ss_set_window(ss, sio)
if (ss->quirkdata->vendor_unique_sw != NULL)
return ((*ss->quirkdata->vendor_unique_sw)(ss, sio,
- &window_cmd, (void*)&wd));
+ &window_cmd, (void *)&wd));
else
/* send the command to the scanner */
return (scsi_scsi_cmd(sc_link,