svn commit: trunk/busybox/networking/libiproute

aldot at busybox.net aldot at busybox.net
Sun Jan 28 11:14:27 UTC 2007


Author: aldot
Date: 2007-01-28 03:14:26 -0800 (Sun, 28 Jan 2007)
New Revision: 17591

Log:
- reinstate static for the command string arrray to be gentle to gcc-3.x


Modified:
   trunk/busybox/networking/libiproute/iprule.c


Changeset:
Modified: trunk/busybox/networking/libiproute/iprule.c
===================================================================
--- trunk/busybox/networking/libiproute/iprule.c	2007-01-28 10:32:59 UTC (rev 17590)
+++ trunk/busybox/networking/libiproute/iprule.c	2007-01-28 11:14:26 UTC (rev 17591)
@@ -306,7 +306,7 @@
 
 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 */
 




More information about the busybox-cvs mailing list