summaryrefslogtreecommitdiff
path: root/networking/libiproute
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2007-01-28 11:14:26 +0000
committerBernhard Reutner-Fischer2007-01-28 11:14:26 +0000
commit2806b2368c41e78f02b60eff7b6f50932a2dc3fb (patch)
treef0d008383ba74b1c26b4980d6bbc51f52ff29a51 /networking/libiproute
parent8ca35d2d65c14a12a4e9f235d248b8676416d3cc (diff)
downloadbusybox-2806b2368c41e78f02b60eff7b6f50932a2dc3fb.zip
busybox-2806b2368c41e78f02b60eff7b6f50932a2dc3fb.tar.gz
- reinstate static for the command string arrray to be gentle to gcc-3.x
Diffstat (limited to 'networking/libiproute')
-rw-r--r--networking/libiproute/iprule.c2
1 files changed, 1 insertions, 1 deletions
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 */