From 4f74229bb3dd9d43dd80a8f396f0905a674c4746 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 31 Oct 2024 12:59:28 +0100 Subject: check_ntp_peer: do not export local symbols diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index a0ec037..2fac2bb 100644 --- a/plugins/check_ntp_peer.c +++ b/plugins/check_ntp_peer.c @@ -61,12 +61,12 @@ static char *tcrit = "0:"; static bool syncsource_found = false; static bool li_alarm = false; -int process_arguments(int, char **); -thresholds *offset_thresholds = NULL; -thresholds *jitter_thresholds = NULL; -thresholds *stratum_thresholds = NULL; -thresholds *truechimer_thresholds = NULL; -void print_help(void); +static int process_arguments(int, char **); +static thresholds *offset_thresholds = NULL; +static thresholds *jitter_thresholds = NULL; +static thresholds *stratum_thresholds = NULL; +static thresholds *truechimer_thresholds = NULL; +static void print_help(void); void print_usage(void); /* max size of control message data */ -- cgit v0.10-9-g596f