diff options
-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); |