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}, _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"