summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2007-05-08 18:50:39 +0000
committerderaadt <deraadt@openbsd.org>2007-05-08 18:50:39 +0000
commit9a0ddd8963f27528524b8fb8c5600d46ddda510a (patch)
tree52ecdbc3f4d55b18d68d4c854d304503a4bd761f
parentplaces they get called are #ifdef notdef, so the code itself can be too (diff)
downloadwireguard-openbsd-9a0ddd8963f27528524b8fb8c5600d46ddda510a.tar.xz
wireguard-openbsd-9a0ddd8963f27528524b8fb8c5600d46ddda510a.zip
all scsidebug_*-using code is under #ifdef, so the variables themselves should be too
-rw-r--r--sys/scsi/scsiconf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index 388bd1fa500..342899737aa 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.c,v 1.124 2006/12/29 13:04:37 pedro Exp $ */
+/* $OpenBSD: scsiconf.c,v 1.125 2007/05/08 18:50:39 deraadt Exp $ */
/* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */
/*
@@ -96,10 +96,12 @@ struct cfdriver scsibus_cd = {
NULL, "scsibus", DV_DULL
};
+#ifdef SCSIDEBUG
int scsidebug_buses = SCSIDEBUG_BUSES;
int scsidebug_targets = SCSIDEBUG_TARGETS;
int scsidebug_luns = SCSIDEBUG_LUNS;
int scsidebug_level = SCSIDEBUG_LEVEL;
+#endif
int scsi_autoconf = SCSI_AUTOCONF;