From 7d706b15d0f4257cac341aad6f167ae7398e04a8 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 31 Oct 2024 13:11:27 +0100 Subject: check_ntp_time: do not export local variables diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index 90c4459..85024c5 100644 --- a/plugins/check_ntp_time.c +++ b/plugins/check_ntp_time.c @@ -50,9 +50,9 @@ static char *owarn = "60"; static char *ocrit = "120"; static int time_offset = 0; -int process_arguments(int, char **); -thresholds *offset_thresholds = NULL; -void print_help(void); +static int process_arguments(int, char **); +static thresholds *offset_thresholds = NULL; +static void print_help(void); void print_usage(void); /* number of times to perform each request to get a good average. */ -- cgit v0.10-9-g596f