diff options
| -rw-r--r-- | plugins/check_fping.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/plugins/check_fping.c b/plugins/check_fping.c index b11508a5..79d672ce 100644 --- a/plugins/check_fping.c +++ b/plugins/check_fping.c | |||
| @@ -46,29 +46,29 @@ enum { | |||
| 46 | RTA = 1 | 46 | RTA = 1 |
| 47 | }; | 47 | }; |
| 48 | 48 | ||
| 49 | int textscan(char *buf); | 49 | static int textscan(char *buf); |
| 50 | int process_arguments(int, char **); | 50 | static int process_arguments(int, char **); |
| 51 | int get_threshold(char *arg, char *rv[2]); | 51 | static int get_threshold(char *arg, char *rv[2]); |
| 52 | void print_help(void); | 52 | static void print_help(void); |
| 53 | void print_usage(void); | 53 | void print_usage(void); |
| 54 | 54 | ||
| 55 | char *server_name = NULL; | 55 | static char *server_name = NULL; |
| 56 | char *sourceip = NULL; | 56 | static char *sourceip = NULL; |
| 57 | char *sourceif = NULL; | 57 | static char *sourceif = NULL; |
| 58 | int packet_size = PACKET_SIZE; | 58 | static int packet_size = PACKET_SIZE; |
| 59 | int packet_count = PACKET_COUNT; | 59 | static int packet_count = PACKET_COUNT; |
| 60 | int target_timeout = 0; | 60 | static int target_timeout = 0; |
| 61 | int packet_interval = 0; | 61 | static int packet_interval = 0; |
| 62 | bool verbose = false; | 62 | static bool verbose = false; |
| 63 | int cpl; | 63 | static int cpl; |
| 64 | int wpl; | 64 | static int wpl; |
| 65 | double crta; | 65 | static double crta; |
| 66 | double wrta; | 66 | static double wrta; |
| 67 | bool cpl_p = false; | 67 | static bool cpl_p = false; |
| 68 | bool wpl_p = false; | 68 | static bool wpl_p = false; |
| 69 | bool alive_p = false; | 69 | static bool alive_p = false; |
| 70 | bool crta_p = false; | 70 | static bool crta_p = false; |
| 71 | bool wrta_p = false; | 71 | static bool wrta_p = false; |
| 72 | 72 | ||
| 73 | int main(int argc, char **argv) { | 73 | int main(int argc, char **argv) { |
| 74 | /* normally should be int result = STATE_UNKNOWN; */ | 74 | /* normally should be int result = STATE_UNKNOWN; */ |
