diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-24 22:12:35 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-24 22:12:35 +0000 |
commit | 677cb5eea52f2424bef1fd0fcc6ed3c8c8b5f1d5 (patch) | |
tree | 5f2cafa617e9a524cf20198a250fd9fa1097fe51 | |
parent | 218f2f4882482e1d023ddbf4b9f6cbf1f6b0145d (diff) | |
download | busybox-w32-677cb5eea52f2424bef1fd0fcc6ed3c8c8b5f1d5.tar.gz busybox-w32-677cb5eea52f2424bef1fd0fcc6ed3c8c8b5f1d5.tar.bz2 busybox-w32-677cb5eea52f2424bef1fd0fcc6ed3c8c8b5f1d5.zip |
hostname declaration was misplaced
-rw-r--r-- | networking/ping6.c | 4 |
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 | ||
45 | static const char *hostname; | ||
46 | |||
47 | static void ping(const char *host); | 45 | static 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 | ||
51 | static const char *hostname; | ||
52 | |||
53 | static void noresp(int ign) | 53 | static void noresp(int ign) |
54 | { | 54 | { |
55 | printf("No response from %s\n", hostname); | 55 | printf("No response from %s\n", hostname); |