diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-15 11:55:08 +0200 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-15 11:55:08 +0200 |
commit | 85f2e32e276ff92110f56828ac82b28007c72236 (patch) | |
tree | 06833330dd31c602185ec2e2e913e65e4e6c0a5c /plugins-root | |
parent | 0caa47a50bae586173f40ca7544d4290de0097a5 (diff) | |
download | monitoring-plugins-85f2e32e276ff92110f56828ac82b28007c72236.tar.gz |
check_icmp: Declare internal variables static
Diffstat (limited to 'plugins-root')
-rw-r--r-- | plugins-root/check_icmp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index 5ad1d845..d7e6ca2c 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
@@ -247,14 +247,14 @@ static struct timeval prog_start; | |||
247 | static unsigned long long max_completion_time = 0; | 247 | static unsigned long long max_completion_time = 0; |
248 | static unsigned int warn_down = 1, crit_down = 1; /* host down threshold values */ | 248 | static unsigned int warn_down = 1, crit_down = 1; /* host down threshold values */ |
249 | static int min_hosts_alive = -1; | 249 | static int min_hosts_alive = -1; |
250 | float pkt_backoff_factor = 1.5; | 250 | static float pkt_backoff_factor = 1.5; |
251 | float target_backoff_factor = 1.5; | 251 | static float target_backoff_factor = 1.5; |
252 | bool rta_mode = false; | 252 | static bool rta_mode = false; |
253 | bool pl_mode = false; | 253 | static bool pl_mode = false; |
254 | bool jitter_mode = false; | 254 | static bool jitter_mode = false; |
255 | bool score_mode = false; | 255 | static bool score_mode = false; |
256 | bool mos_mode = false; | 256 | static bool mos_mode = false; |
257 | bool order_mode = false; | 257 | static bool order_mode = false; |
258 | 258 | ||
259 | /** code start **/ | 259 | /** code start **/ |
260 | static void crash(const char *fmt, ...) { | 260 | static void crash(const char *fmt, ...) { |