hostname declaration was misplaced

This commit is contained in:
Denis Vlasenko 2007-01-24 22:12:35 +00:00
parent 218f2f4882
commit 677cb5eea5

View File

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