From: Denis Vlasenko Date: Wed, 24 Jan 2007 22:12:35 +0000 (-0000) Subject: hostname declaration was misplaced X-Git-Tag: 1_5_1~292 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=677cb5eea52f2424bef1fd0fcc6ed3c8c8b5f1d5;p=oweals%2Fbusybox.git hostname declaration was misplaced --- 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);