summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 12:11:27 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 12:11:27 (GMT)
commit7d706b15d0f4257cac341aad6f167ae7398e04a8 (patch)
tree1fa3c8bbdaa009d86b18810224f7cdf16e10a486
parentd078e8037f00d400e6fcf6c6e3341769840610e9 (diff)
downloadmonitoring-plugins-7d706b15d0f4257cac341aad6f167ae7398e04a8.tar.gz
check_ntp_time: do not export local variables
-rw-r--r--plugins/check_ntp_time.c6
1 files changed, 3 insertions, 3 deletions
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";
50static char *ocrit = "120"; 50static char *ocrit = "120";
51static int time_offset = 0; 51static int time_offset = 0;
52 52
53int process_arguments(int, char **); 53static int process_arguments(int, char **);
54thresholds *offset_thresholds = NULL; 54static thresholds *offset_thresholds = NULL;
55void print_help(void); 55static void print_help(void);
56void print_usage(void); 56void print_usage(void);
57 57
58/* number of times to perform each request to get a good average. */ 58/* number of times to perform each request to get a good average. */