summaryrefslogtreecommitdiffstats
path: root/sys/dev/digi
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2002-01-08 10:24:34 +0000
committermsmith <msmith@FreeBSD.org>2002-01-08 10:24:34 +0000
commit7ff97afb06933ed4027d90c3d67e244afb6e8279 (patch)
treebdf847e10e2abf8bc7e24ab5051e97154e8a79c0 /sys/dev/digi
parent2cbaa6fc052965c99aa89b8ec0711bd23882c56c (diff)
downloadFreeBSD-src-7ff97afb06933ed4027d90c3d67e244afb6e8279.zip
FreeBSD-src-7ff97afb06933ed4027d90c3d67e244afb6e8279.tar.gz
Staticise the con_bios and digi_devclass variables, since they aren't needed
by anything else.
Diffstat (limited to 'sys/dev/digi')
-rw-r--r--sys/dev/digi/digi.c4
-rw-r--r--sys/dev/digi/digi.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/digi/digi.c b/sys/dev/digi/digi.c
index f92b534..5c882b6 100644
--- a/sys/dev/digi/digi.c
+++ b/sys/dev/digi/digi.c
@@ -103,8 +103,8 @@ struct con_bios {
size_t size;
};
-struct con_bios *con_bios_list;
-devclass_t digi_devclass;
+static struct con_bios *con_bios_list;
+static devclass_t digi_devclass;
static char driver_name[] = "digi";
unsigned digi_debug = 0;
diff --git a/sys/dev/digi/digi.h b/sys/dev/digi/digi.h
index cabe42a..eaad88f 100644
--- a/sys/dev/digi/digi.h
+++ b/sys/dev/digi/digi.h
@@ -206,7 +206,6 @@ struct digi_softc {
#endif
};
-extern devclass_t digi_devclass;
extern const struct digi_control_signals digi_xixe_signals;
extern const struct digi_control_signals digi_normal_signals;
OpenPOWER on IntegriCloud