summaryrefslogtreecommitdiff
path: root/sbin/scsi/scsi.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-23 23:10:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-23 23:10:26 +0000
commit7090cef802e978651284c704e179a8bfd7d61c5c (patch)
treeef63dc15918aa378bbbe2b38f04eec6675554665 /sbin/scsi/scsi.c
parente0c59d32cbf75d83496c2abcb329f9297d26ccd1 (diff)
move junk (bad code, terrible APIs) to the only program that uses it;
millert ok
Diffstat (limited to 'sbin/scsi/scsi.c')
-rw-r--r--sbin/scsi/scsi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/scsi/scsi.c b/sbin/scsi/scsi.c
index 6e2e2ca3c67..b215fe48d2f 100644
--- a/sbin/scsi/scsi.c
+++ b/sbin/scsi/scsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi.c,v 1.13 2003/07/06 22:03:58 deraadt Exp $ */
+/* $OpenBSD: scsi.c,v 1.14 2003/07/23 23:10:23 deraadt Exp $ */
/* $FreeBSD: scsi.c,v 1.11 1996/04/06 11:00:28 joerg Exp $ */
/*
@@ -50,11 +50,12 @@
#include <errno.h>
#include <sys/scsiio.h>
#include <sys/file.h>
-#include <scsi.h>
#include <ctype.h>
#include <signal.h>
#include <err.h>
+#include "libscsi.h"
+
int fd;
int debuglevel;
int debugflag;