svn commit: r249744 - head/usr.sbin/nandsim
Ed Schouten
ed at FreeBSD.org
Sun Apr 21 22:47:25 UTC 2013
Author: ed
Date: Sun Apr 21 22:47:24 2013
New Revision: 249744
URL: http://svnweb.freebsd.org/changeset/base/249744
Log:
Add missing static keyword, to make the code build with WARNS=6.
Modified:
head/usr.sbin/nandsim/nandsim_cfgparse.c
Modified: head/usr.sbin/nandsim/nandsim_cfgparse.c
==============================================================================
--- head/usr.sbin/nandsim/nandsim_cfgparse.c Sun Apr 21 22:36:14 2013 (r249743)
+++ head/usr.sbin/nandsim/nandsim_cfgparse.c Sun Apr 21 22:47:24 2013 (r249744)
@@ -130,7 +130,7 @@ static struct nandsim_key nandsim_chip_k
{NULL, 0, 0, NULL, 0},
};
-struct nandsim_section sections[] = {
+static struct nandsim_section sections[] = {
{"ctrl", (struct nandsim_key *)&nandsim_ctrl_keys},
{"chip", (struct nandsim_key *)&nandsim_chip_keys},
{NULL, NULL},
More information about the svn-src-all
mailing list