diff options
author | Ed Schouten <ed@FreeBSD.org> | 2013-04-21 22:47:24 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2013-04-21 22:47:24 +0000 |
commit | d0e5fa31a4d6f7129f0dbdfeea685c96f49f9c97 (patch) | |
tree | e4d4b7d3134917cb097e5ea2bf6783435012447a /usr.sbin/nandsim | |
parent | 4f929487f3cfc43dc14900103e96eb651b3ad024 (diff) |
Add missing static keyword, to make the code build with WARNS=6.
Notes
Notes:
svn path=/head/; revision=249744
Diffstat (limited to 'usr.sbin/nandsim')
-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 33a414141a29..a96503418462 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}, |