summaryrefslogtreecommitdiff
path: root/sys/dev/ic/siop.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2004-07-31 10:27:15 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2004-07-31 10:27:15 +0000
commitc46066733583cea787f0bcda85d72c2a6ed37c03 (patch)
tree1d5d57b1adc3294fd5c9a11c134eae59ca6c9ad9 /sys/dev/ic/siop.c
parent60f2f15b256a6dbd6833b2eb76ac6b10a2a2396f (diff)
Save a couple of hundred bytes (on i386) by putting the definition of
siop_dump_script inside #ifdef DUMP_SCRIPT/#endif, just like its single invocation already is.
Diffstat (limited to 'sys/dev/ic/siop.c')
-rw-r--r--sys/dev/ic/siop.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/siop.c b/sys/dev/ic/siop.c
index 6144e138ab1..3564a604090 100644
--- a/sys/dev/ic/siop.c
+++ b/sys/dev/ic/siop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: siop.c,v 1.35 2004/07/30 00:24:33 krw Exp $ */
+/* $OpenBSD: siop.c,v 1.36 2004/07/31 10:27:14 krw Exp $ */
/* $NetBSD: siop.c,v 1.65 2002/11/08 22:04:41 bouyer Exp $ */
/*
@@ -81,7 +81,9 @@ void siop_scsicmd_end(struct siop_cmd *);
void siop_start(struct siop_softc *);
void siop_timeout(void *);
int siop_scsicmd(struct scsi_xfer *);
+#ifdef DUMP_SCRIPT
void siop_dump_script(struct siop_softc *);
+#endif
void siop_morecbd(struct siop_softc *);
struct siop_lunsw *siop_get_lunsw(struct siop_softc *);
void siop_add_reselsw(struct siop_softc *, int);
@@ -1685,6 +1687,7 @@ siop_timeout(v)
return;
}
+#ifdef DUMP_SCRIPT
void
siop_dump_script(sc)
struct siop_softc *sc;
@@ -1702,6 +1705,7 @@ siop_dump_script(sc)
printf("\n");
}
}
+#endif
void
siop_morecbd(sc)