diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 03:38:44 +0100 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 03:38:44 +0100 |
commit | f3ed9c6038eb960efcdaff7f58cae7934dd20a3e (patch) | |
tree | 6b82f669fee4111d44717f971d0adb056f9e984f /plugins | |
parent | 5490729f1ff8fd65ba408906cf1552331938424b (diff) | |
download | monitoring-plugins-f3ed9c6038eb960efcdaff7f58cae7934dd20a3e.tar.gz |
check_fping: do not export local symbols
Diffstat (limited to 'plugins')
-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; */ |