hostname declaration was misplaced
This commit is contained in:
parent
218f2f4882
commit
677cb5eea5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user