summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2013-10-28 02:36:34 +0000
committersbruno <sbruno@FreeBSD.org>2013-10-28 02:36:34 +0000
commitb2742e4922648990c67dfc3fd6b6d3f471dc6112 (patch)
tree23eeb285e7ea6b04828cdf3fcc3ab587ecbd08ae
parent64b3e71588690565509558d3e46f67ffbb8c9764 (diff)
downloadFreeBSD-src-b2742e4922648990c67dfc3fd6b6d3f471dc6112.zip
FreeBSD-src-b2742e4922648990c67dfc3fd6b6d3f471dc6112.tar.gz
Quiesce warning -Wmissing-variable-declarations from buildworld, which is
slightly unnerving. In file included from ioctl.c:48: /var/tmp/home/sbruno/bsd/head/tmp/usr/include/dev/lmc/if_lmc.h:939:13: warning: no previous extern declaration for non-static variable 'ssi_cables' [-Wmissing-variable-declarations] const char *ssi_cables[] =
-rw-r--r--sys/dev/lmc/if_lmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/lmc/if_lmc.h b/sys/dev/lmc/if_lmc.h
index f3c1947..e89c739 100644
--- a/sys/dev/lmc/if_lmc.h
+++ b/sys/dev/lmc/if_lmc.h
@@ -936,7 +936,7 @@ struct ioctl
#define IOCTL_RESET_CNTRS 54 /* reset event counters */
/* storage for these strings is allocated here! */
-const char *ssi_cables[] =
+static const char *ssi_cables[] =
{
"V.10/EIA423",
"V.11/EIA530A",
OpenPOWER on IntegriCloud