- reinstate static for the command string arrray to be gentle to gcc-3.x
This commit is contained in:
parent
8ca35d2d65
commit
2806b2368c
@ -306,7 +306,7 @@ static int iprule_modify(int cmd, int argc, char **argv)
|
|||||||
|
|
||||||
int do_iprule(int argc, char **argv)
|
int do_iprule(int argc, char **argv)
|
||||||
{
|
{
|
||||||
const char * const ip_rule_commands[] =
|
static const char * const ip_rule_commands[] =
|
||||||
{"add", "delete", "list", "show", 0};
|
{"add", "delete", "list", "show", 0};
|
||||||
int cmd = 2; /* list */
|
int cmd = 2; /* list */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user