aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/tws
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2011-10-28 17:53:34 +0000
committerXin LI <delphij@FreeBSD.org>2011-10-28 17:53:34 +0000
commit79b54e441b76dd601701299e9bab747df42d152f (patch)
tree7336c564db72ce585337ee0a0b0802958983cf0d /sys/dev/tws
parentc6fbdfd58aeb8762df36114a63f083e4cce367bb (diff)
Notes
Diffstat (limited to 'sys/dev/tws')
-rw-r--r--sys/dev/tws/tws_services.c2
-rw-r--r--sys/dev/tws/tws_services.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/tws/tws_services.c b/sys/dev/tws/tws_services.c
index 07200b595d15..d2a52cd5ff3f 100644
--- a/sys/dev/tws/tws_services.c
+++ b/sys/dev/tws/tws_services.c
@@ -53,7 +53,7 @@ struct tws_sense *tws_find_sense_from_mfa(struct tws_softc *sc, u_int64_t mfa);
-struct error_desc array[] = {
+static struct error_desc array[] = {
{ "Cannot add sysctl tree node", 0x2000, ERROR,
"%s: (0x%02X: 0x%04X): %s:\n", "ERROR" },
{ "Register window not available", 0x2001, ERROR,
diff --git a/sys/dev/tws/tws_services.h b/sys/dev/tws/tws_services.h
index 643d72033917..f9016daa64ee 100644
--- a/sys/dev/tws/tws_services.h
+++ b/sys/dev/tws/tws_services.h
@@ -114,7 +114,6 @@ struct error_desc {
char *error_str;
};
-extern struct error_desc array[];
/* ----------- q services ------------- */
#define TWS_FREE_Q 0