From 85f2e32e276ff92110f56828ac82b28007c72236 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Tue, 15 Oct 2024 11:55:08 +0200 Subject: check_icmp: Declare internal variables static --- plugins-root/check_icmp.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins-root') 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; static unsigned long long max_completion_time = 0; static unsigned int warn_down = 1, crit_down = 1; /* host down threshold values */ static int min_hosts_alive = -1; -float pkt_backoff_factor = 1.5; -float target_backoff_factor = 1.5; -bool rta_mode = false; -bool pl_mode = false; -bool jitter_mode = false; -bool score_mode = false; -bool mos_mode = false; -bool order_mode = false; +static float pkt_backoff_factor = 1.5; +static float target_backoff_factor = 1.5; +static bool rta_mode = false; +static bool pl_mode = false; +static bool jitter_mode = false; +static bool score_mode = false; +static bool mos_mode = false; +static bool order_mode = false; /** code start **/ static void crash(const char *fmt, ...) { -- cgit v1.2.3-74-g34f1