aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-24 22:12:35 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-24 22:12:35 +0000
commit677cb5eea52f2424bef1fd0fcc6ed3c8c8b5f1d5 (patch)
tree5f2cafa617e9a524cf20198a250fd9fa1097fe51 /networking
parent218f2f4882482e1d023ddbf4b9f6cbf1f6b0145d (diff)
downloadbusybox-677cb5eea52f2424bef1fd0fcc6ed3c8c8b5f1d5.tar.gz
hostname declaration was misplaced
Diffstat (limited to 'networking')
-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);