svn commit: r257236 - head/sys/dev/lmc
Sean Bruno
sbruno at FreeBSD.org
Mon Oct 28 02:36:34 UTC 2013
Author: sbruno
Date: Mon Oct 28 02:36:34 2013
New Revision: 257236
URL: http://svnweb.freebsd.org/changeset/base/257236
Log:
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[] =
Modified:
head/sys/dev/lmc/if_lmc.h
Modified: head/sys/dev/lmc/if_lmc.h
==============================================================================
--- head/sys/dev/lmc/if_lmc.h Mon Oct 28 01:41:59 2013 (r257235)
+++ head/sys/dev/lmc/if_lmc.h Mon Oct 28 02:36:34 2013 (r257236)
@@ -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",
More information about the svn-src-all
mailing list