diff options
author | Bernhard Reutner-Fischer | 2007-01-28 11:14:26 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2007-01-28 11:14:26 +0000 |
commit | 2806b2368c41e78f02b60eff7b6f50932a2dc3fb (patch) | |
tree | f0d008383ba74b1c26b4980d6bbc51f52ff29a51 | |
parent | 8ca35d2d65c14a12a4e9f235d248b8676416d3cc (diff) | |
download | busybox-2806b2368c41e78f02b60eff7b6f50932a2dc3fb.zip busybox-2806b2368c41e78f02b60eff7b6f50932a2dc3fb.tar.gz |
- reinstate static for the command string arrray to be gentle to gcc-3.x
-rw-r--r-- | networking/libiproute/iprule.c | 2 |
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 */ |