From 677cb5eea52f2424bef1fd0fcc6ed3c8c8b5f1d5 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 24 Jan 2007 22:12:35 +0000 Subject: [PATCH] hostname declaration was misplaced --- networking/ping6.c | 4 ++-- 1 file 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); -- 2.25.1