hostname declaration was misplaced
No binary (build failed)
—
(log yok)
| @@ -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); | |