[BusyBox-cvs] svn commit: trunk/busybox/networking

andersen at busybox.net andersen at busybox.net
Sat Apr 16 08:02:16 UTC 2005


Author: andersen
Date: 2005-04-16 02:02:15 -0600 (Sat, 16 Apr 2005)
New Revision: 10118

Log:
Only define a local environ when not using the prototype from unistd.h


Modified:
   trunk/busybox/networking/ifupdown.c


Changeset:
Modified: trunk/busybox/networking/ifupdown.c
===================================================================
--- trunk/busybox/networking/ifupdown.c	2005-04-16 07:46:53 UTC (rev 10117)
+++ trunk/busybox/networking/ifupdown.c	2005-04-16 08:02:15 UTC (rev 10118)
@@ -150,7 +150,9 @@
 
 static char no_act = 0;
 static char verbose = 0;
+#ifndef __USE_GNU
 static char **environ = NULL;
+#endif
 
 #ifdef CONFIG_FEATURE_IFUPDOWN_IP
 




More information about the busybox-cvs mailing list