summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-16 12:34:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-16 12:34:17 +0000
commitf142ca998154a6533114d84292663491e0226199 (patch)
tree34e39981d4c6c59d130656923fd3828fffb83aa0 /sys
parentb1fbc7cdef73bf7438e7742c5acee5e35e5ece7a (diff)
contextual usage
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isa/if_le_isa.c2
-rw-r--r--sys/dev/isa/wds.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/isa/if_le_isa.c b/sys/dev/isa/if_le_isa.c
index 3b1af9aa61e..dff37ba4c9b 100644
--- a/sys/dev/isa/if_le_isa.c
+++ b/sys/dev/isa/if_le_isa.c
@@ -146,8 +146,10 @@ depca_isa_probe(lesc, ia)
{
struct am7990_softc *sc = &lesc->sc_am7990;
int iobase = ia->ia_iobase, port;
+#if 0
u_long sum, rom_sum;
u_char x;
+#endif
int i;
lesc->sc_rap = iobase + DEPCA_RAP;
diff --git a/sys/dev/isa/wds.c b/sys/dev/isa/wds.c
index 1f189c45782..1e14e8bb829 100644
--- a/sys/dev/isa/wds.c
+++ b/sys/dev/isa/wds.c
@@ -608,7 +608,9 @@ wds_collect_mbo(sc)
struct wds_softc *sc;
{
struct wds_mbx_out *wmbo; /* Mail Box Out pointer */
+#ifdef WDSDIAG
struct wds_scb *scb;
+#endif
wmbo = wmbx->cmbo;