Make this compile again (was broken in rev 1.24 as far as I can tell),
authormk <mk@openbsd.org>
Tue, 20 Jul 2010 20:43:27 +0000 (20:43 +0000)
committermk <mk@openbsd.org>
Tue, 20 Jul 2010 20:43:27 +0000 (20:43 +0000)
even though we don't actually compile it in any configurations.

ok krw

sys/dev/ic/dpt.c

index ccd9b7b..87aa0d2 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: dpt.c,v 1.26 2010/06/28 18:31:02 krw Exp $    */
+/*     $OpenBSD: dpt.c,v 1.27 2010/07/20 20:43:27 mk Exp $     */
 /*     $NetBSD: dpt.c,v 1.12 1999/10/23 16:26:33 ad Exp $      */
 
 /*-
@@ -858,13 +858,13 @@ dpt_done_ccb(sc, ccb)
 /*
  * Start a SCSI command.
  */
-int
-dpt_scsi_cmd(xs)
 #ifdef __NetBSD__
-       struct scsipi_xfer *xs;
+int
+dpt_scsi_cmd(struct scsipi_xfer *xs)
 #endif /* __NetBSD__ */
 #ifdef __OpenBSD__
-       struct scsi_xfer *xs;
+void
+dpt_scsi_cmd(struct scsi_xfer *xs)
 #endif /* __OpenBSD__ */
 {
        int error, i, flags, s;