aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);