summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nandsim
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2013-04-21 22:47:24 +0000
committered <ed@FreeBSD.org>2013-04-21 22:47:24 +0000
commit136b9108c6d50b6ad751df685c7892070d641e2e (patch)
treee4d4b7d3134917cb097e5ea2bf6783435012447a /usr.sbin/nandsim
parentbfbcc24aa4cc1a4a1fe92ae99b6212662578f804 (diff)
downloadFreeBSD-src-136b9108c6d50b6ad751df685c7892070d641e2e.zip
FreeBSD-src-136b9108c6d50b6ad751df685c7892070d641e2e.tar.gz
Add missing static keyword, to make the code build with WARNS=6.
Diffstat (limited to 'usr.sbin/nandsim')
-rw-r--r--usr.sbin/nandsim/nandsim_cfgparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nandsim/nandsim_cfgparse.c b/usr.sbin/nandsim/nandsim_cfgparse.c
index 33a4141..a965034 100644
--- a/usr.sbin/nandsim/nandsim_cfgparse.c
+++ b/usr.sbin/nandsim/nandsim_cfgparse.c
@@ -130,7 +130,7 @@ static struct nandsim_key nandsim_chip_keys[] = {
{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},
OpenPOWER on IntegriCloud