From: mk Date: Tue, 20 Jul 2010 20:43:27 +0000 (+0000) Subject: Make this compile again (was broken in rev 1.24 as far as I can tell), X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b4dc4f72722ebf52732225a69d4ea66f1db6f236;p=openbsd Make this compile again (was broken in rev 1.24 as far as I can tell), even though we don't actually compile it in any configurations. ok krw --- diff --git a/sys/dev/ic/dpt.c b/sys/dev/ic/dpt.c index ccd9b7b1046..87aa0d21c77 100644 --- a/sys/dev/ic/dpt.c +++ b/sys/dev/ic/dpt.c @@ -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;