summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-01-12 00:36:36 +0000
committereivind <eivind@FreeBSD.org>1999-01-12 00:36:36 +0000
commit4e34ff4e34384bd86c5183cd03598c41e5665b57 (patch)
tree6b701144a1b9242d574f7694f6d0918a0b9f47c7 /sys/pc98
parent156a777d2e41c710c3fcc2329df92503093f70a1 (diff)
downloadFreeBSD-src-4e34ff4e34384bd86c5183cd03598c41e5665b57.zip
FreeBSD-src-4e34ff4e34384bd86c5183cd03598c41e5665b57.tar.gz
Silence warnings.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/pc98/wst.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/pc98/pc98/wst.c b/sys/pc98/pc98/wst.c
index 4f159b5..1bf43a7 100644
--- a/sys/pc98/pc98/wst.c
+++ b/sys/pc98/pc98/wst.c
@@ -25,12 +25,13 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: wst.c,v 1.12 1998/09/15 18:16:38 sos Exp $
+ * $Id: wst.c,v 1.13 1998/12/07 21:58:24 archie Exp $
*/
#include "wdc.h"
#include "wst.h"
#include "opt_atapi.h"
+#include "opt_ddb.h"
#include "opt_devfs.h"
#if NWST > 0 && NWDC > 0 && defined(ATAPI)
@@ -211,7 +212,8 @@ static int wst_load_unload(struct wst *t, u_char finction);
static int wst_rewind(struct wst *t);
static void wst_reset(struct wst *t);
-static void
+#ifdef DDB
+void
wst_dump(int lun, char *label, void *data, int len)
{
u_char *p = data;
@@ -221,6 +223,7 @@ wst_dump(int lun, char *label, void *data, int len)
printf("-%x", *p++);
printf("\n");
}
+#endif
#ifndef ATAPI_STATIC
static
OpenPOWER on IntegriCloud