diff options
author | ed <ed@FreeBSD.org> | 2013-04-21 22:47:24 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2013-04-21 22:47:24 +0000 |
commit | 136b9108c6d50b6ad751df685c7892070d641e2e (patch) | |
tree | e4d4b7d3134917cb097e5ea2bf6783435012447a /usr.sbin/nandsim/nandsim_cfgparse.c | |
parent | bfbcc24aa4cc1a4a1fe92ae99b6212662578f804 (diff) | |
download | FreeBSD-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/nandsim_cfgparse.c')
-rw-r--r-- | usr.sbin/nandsim/nandsim_cfgparse.c | 2 |
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}, |