aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-24 22:12:35 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-24 22:12:35 +0000
commit677cb5eea52f2424bef1fd0fcc6ed3c8c8b5f1d5 (patch)
tree5f2cafa617e9a524cf20198a250fd9fa1097fe51
parent218f2f4882482e1d023ddbf4b9f6cbf1f6b0145d (diff)
downloadbusybox-w32-677cb5eea52f2424bef1fd0fcc6ed3c8c8b5f1d5.tar.gz
busybox-w32-677cb5eea52f2424bef1fd0fcc6ed3c8c8b5f1d5.tar.bz2
busybox-w32-677cb5eea52f2424bef1fd0fcc6ed3c8c8b5f1d5.zip
hostname declaration was misplaced
-rw-r--r--networking/ping6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ping6.c b/networking/ping6.c
index c691fa74b..b67fab5b3 100644
--- a/networking/ping6.c
+++ b/networking/ping6.c
@@ -42,14 +42,14 @@ enum {
42 PINGINTERVAL = 1 /* second */ 42 PINGINTERVAL = 1 /* second */
43}; 43};
44 44
45static const char *hostname;
46
47static void ping(const char *host); 45static void ping(const char *host);
48 46
49#ifndef CONFIG_FEATURE_FANCY_PING6 47#ifndef CONFIG_FEATURE_FANCY_PING6
50 48
51/* simple version */ 49/* simple version */
52 50
51static const char *hostname;
52
53static void noresp(int ign) 53static void noresp(int ign)
54{ 54{
55 printf("No response from %s\n", hostname); 55 printf("No response from %s\n", hostname);