diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 12:11:27 (GMT) |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 12:11:27 (GMT) |
commit | 7d706b15d0f4257cac341aad6f167ae7398e04a8 (patch) | |
tree | 1fa3c8bbdaa009d86b18810224f7cdf16e10a486 | |
parent | d078e8037f00d400e6fcf6c6e3341769840610e9 (diff) | |
download | monitoring-plugins-7d706b15d0f4257cac341aad6f167ae7398e04a8.tar.gz |
check_ntp_time: do not export local variables
-rw-r--r-- | plugins/check_ntp_time.c | 6 |
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"; | |||
50 | static char *ocrit = "120"; | 50 | static char *ocrit = "120"; |
51 | static int time_offset = 0; | 51 | static int time_offset = 0; |
52 | 52 | ||
53 | int process_arguments(int, char **); | 53 | static int process_arguments(int, char **); |
54 | thresholds *offset_thresholds = NULL; | 54 | static thresholds *offset_thresholds = NULL; |
55 | void print_help(void); | 55 | static void print_help(void); |
56 | void print_usage(void); | 56 | void 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. */ |