svn commit: trunk/busybox/networking

vda at busybox.net vda at busybox.net
Wed Jan 24 22:12:37 UTC 2007


Author: vda
Date: 2007-01-24 14:12:35 -0800 (Wed, 24 Jan 2007)
New Revision: 17510

Log:
hostname declaration was misplaced


Modified:
   trunk/busybox/networking/ping6.c


Changeset:
Modified: trunk/busybox/networking/ping6.c
===================================================================
--- trunk/busybox/networking/ping6.c	2007-01-24 22:03:46 UTC (rev 17509)
+++ trunk/busybox/networking/ping6.c	2007-01-24 22:12:35 UTC (rev 17510)
@@ -42,14 +42,14 @@
 	PINGINTERVAL = 1		/* second */
 };
 
-static const char *hostname;
-
 static void ping(const char *host);
 
 #ifndef CONFIG_FEATURE_FANCY_PING6
 
 /* simple version */
 
+static const char *hostname;
+
 static void noresp(int ign)
 {
 	printf("No response from %s\n", hostname);




More information about the busybox-cvs mailing list