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 {
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);