- reinstate static for the command string arrray to be gentle to gcc-3.x
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 28 Jan 2007 11:14:26 +0000 (11:14 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 28 Jan 2007 11:14:26 +0000 (11:14 -0000)
networking/libiproute/iprule.c

index bf660b053a3b87639fbc61cd65be517fff845cc1..4b3130307f2b3b13869f1d793ec7f5cf590b51fb 100644 (file)
@@ -306,7 +306,7 @@ static int iprule_modify(int cmd, 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};
        int cmd = 2; /* list */