From 136b9108c6d50b6ad751df685c7892070d641e2e Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 21 Apr 2013 22:47:24 +0000 Subject: Add missing static keyword, to make the code build with WARNS=6. --- usr.sbin/nandsim/nandsim_cfgparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/nandsim') 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}, -- cgit v1.1