From 2806b2368c41e78f02b60eff7b6f50932a2dc3fb Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 28 Jan 2007 11:14:26 +0000 Subject: - reinstate static for the command string arrray to be gentle to gcc-3.x --- networking/libiproute/iprule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking') diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c index bf660b0..4b31303 100644 --- a/networking/libiproute/iprule.c +++ b/networking/libiproute/iprule.c @@ -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 */ -- cgit v1.1