summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-10-16 12:29:48 +0000
committerderaadt <deraadt@openbsd.org>1996-10-16 12:29:48 +0000
commitbe35967a149839e00c6ea6d6150e5184b8a191f7 (patch)
tree74dd7ebbcda345a55f128f2f4a3db0cace3295c5
parentrepair fusword/susword protos (diff)
downloadwireguard-openbsd-be35967a149839e00c6ea6d6150e5184b8a191f7.tar.xz
wireguard-openbsd-be35967a149839e00c6ea6d6150e5184b8a191f7.zip
contextual usage only
-rw-r--r--sys/dev/isa/aha.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/isa/aha.c b/sys/dev/isa/aha.c
index 092cdc14452..69781e00ed3 100644
--- a/sys/dev/isa/aha.c
+++ b/sys/dev/isa/aha.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aha.c,v 1.25 1996/06/19 14:40:33 deraadt Exp $ */
+/* $OpenBSD: aha.c,v 1.26 1996/10/16 12:29:48 deraadt Exp $ */
/* $NetBSD: aha.c,v 1.11 1996/05/12 23:51:23 mycroft Exp $ */
#undef AHADIAG
@@ -711,7 +711,9 @@ aha_collect_mbo(sc)
struct aha_softc *sc;
{
struct aha_mbx_out *wmbo; /* Mail Box Out pointer */
+#ifdef AHADIAG
struct aha_ccb *ccb;
+#endif
wmbo = wmbx->cmbo;
@@ -1182,8 +1184,11 @@ aha_scsi_cmd(xs)
struct aha_softc *sc = sc_link->adapter_softc;
struct aha_ccb *ccb;
struct aha_scat_gath *sg;
- int seg, datalen, flags, mflags;
+ int seg, flags, mflags;
+#ifdef TFS
struct iovec *iovp;
+ int datalen;
+#endif
int s;
SC_DEBUG(sc_link, SDEV_DB2, ("aha_scsi_cmd\n"));