From b4dc4f72722ebf52732225a69d4ea66f1db6f236 Mon Sep 17 00:00:00 2001 From: mk Date: Tue, 20 Jul 2010 20:43:27 +0000 Subject: [PATCH] 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 --- sys/dev/ic/dpt.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; -- 2.20.1