Date: Mon, 28 Oct 2013 02:36:34 +0000 (UTC) From: Sean Bruno <sbruno@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r257236 - head/sys/dev/lmc Message-ID: <201310280236.r9S2aYlI044680@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310280236.r9S2aYlI044680>