diff options
author | phk <phk@FreeBSD.org> | 1995-12-17 21:23:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-12-17 21:23:44 +0000 |
commit | 02cbd66c6d015a152ab4b0c15cb19a4d854dc78f (patch) | |
tree | d9e9aadac9903141119e844926290aa59d3064c2 /sys/scsi/scsi_base.c | |
parent | b3abae23ca40c1ec028b9355289030d7071a4102 (diff) | |
download | FreeBSD-src-02cbd66c6d015a152ab4b0c15cb19a4d854dc78f.zip FreeBSD-src-02cbd66c6d015a152ab4b0c15cb19a4d854dc78f.tar.gz |
Staticize.
Unstaticize a function in scsi/scsi_base that was used, with an undocumented
option.
My last count on the LINT kernel shows:
Total symbols: 3647
unref symbols: 463
undef symbols: 4
1 ref symbols: 1751
2 ref symbols: 485
Approaching the pain threshold now.
Diffstat (limited to 'sys/scsi/scsi_base.c')
-rw-r--r-- | sys/scsi/scsi_base.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c index d729650..1287619 100644 --- a/sys/scsi/scsi_base.c +++ b/sys/scsi/scsi_base.c @@ -8,7 +8,7 @@ * file. * * Written by Julian Elischer (julian@dialix.oz.au) - * $Id: scsi_base.c,v 1.32 1995/12/07 12:47:46 davidg Exp $ + * $Id: scsi_base.c,v 1.33 1995/12/14 09:54:26 phk Exp $ */ #define SPLSD splbio @@ -39,7 +39,6 @@ static void show_scsi_xs (struct scsi_xfer *); #ifdef notyet static int scsi_sense_qualifiers (struct scsi_xfer *, int *, int *); -static errval scsi_change_def( struct scsi_link *sc_link, u_int32 flags); #endif static struct scsi_xfer *next_free_xs; @@ -231,11 +230,11 @@ scsi_test_unit_ready(sc_link, flags) flags)); } -#ifdef notyet +#ifdef SCSI_2_DEF /* * Do a scsi operation, asking a device to run as SCSI-II if it can. */ -static errval +errval scsi_change_def(sc_link, flags) struct scsi_link *sc_link; u_int32 flags; @@ -256,7 +255,7 @@ scsi_change_def(sc_link, flags) NULL, flags)); } -#endif +#endif /* SCSI_2_DEF */ /* * Do a scsi operation asking a device what it is |