summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2019-08-14 21:02:03 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2019-08-14 21:02:03 +0000
commitc57b967f4a8c029608bca576ef7001f204659b2f (patch)
tree4cef3a91c96995ec45bac0de54f388409c761b9b
parentd859ddce86c37afcd3ba36a476a23173768f5c47 (diff)
scsi_[add|remove]_link() are local functions so move their
declarations.
-rw-r--r--sys/scsi/scsiconf.c4
-rw-r--r--sys/scsi/scsiconf.h6
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index 59009f4ba85..a5a8ec29240 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.c,v 1.198 2019/08/14 20:53:55 krw Exp $ */
+/* $OpenBSD: scsiconf.c,v 1.199 2019/08/14 21:02:02 krw Exp $ */
/* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */
/*
@@ -71,6 +71,8 @@
* Declarations
*/
int scsi_probedev(struct scsibus_softc *, int, int);
+void scsi_add_link(struct scsibus_softc *, struct scsi_link *);
+void scsi_remove_link(struct scsibus_softc *, struct scsi_link *);
void scsi_devid(struct scsi_link *);
int scsi_devid_pg80(struct scsi_link *);
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h
index b217ae708cb..6da37df997e 100644
--- a/sys/scsi/scsiconf.h
+++ b/sys/scsi/scsiconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.h,v 1.166 2017/05/29 07:47:13 krw Exp $ */
+/* $OpenBSD: scsiconf.h,v 1.167 2019/08/14 21:02:02 krw Exp $ */
/* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */
/*
@@ -524,10 +524,6 @@ int scsi_req_detach(struct scsibus_softc *, int, int, int);
int scsi_activate(struct scsibus_softc *, int, int, int);
struct scsi_link * scsi_get_link(struct scsibus_softc *, int, int);
-void scsi_add_link(struct scsibus_softc *,
- struct scsi_link *);
-void scsi_remove_link(struct scsibus_softc *,
- struct scsi_link *);
extern const u_int8_t version_to_spc[];
#define SCSISPC(x) (version_to_spc[(x) & SID_ANSII])