diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-08 11:35:27 (GMT) |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-08 11:35:27 (GMT) |
commit | e3efbb796a58e02eceeef2e12b1f159d687a1b2b (patch) | |
tree | b1bd55488fff29210e696c53c23b3d842f346d11 | |
parent | c7124379cd4e70d91e9af6eec4cf414849dc77d7 (diff) | |
download | monitoring-plugins-e3efbb796a58e02eceeef2e12b1f159d687a1b2b.tar.gz |
check_ntp: delare file local variables static
-rw-r--r-- | plugins/check_ntp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index 55a4946..d33f878 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c | |||
@@ -47,10 +47,10 @@ static bool do_jitter = false; | |||
47 | static char *jwarn="5000"; | 47 | static char *jwarn="5000"; |
48 | static char *jcrit="10000"; | 48 | static char *jcrit="10000"; |
49 | 49 | ||
50 | int process_arguments (int, char **); | 50 | static int process_arguments (int /*argc*/, char ** /*argv*/); |
51 | thresholds *offset_thresholds = NULL; | 51 | static thresholds *offset_thresholds = NULL; |
52 | thresholds *jitter_thresholds = NULL; | 52 | static thresholds *jitter_thresholds = NULL; |
53 | void print_help (void); | 53 | static void print_help (void); |
54 | void print_usage (void); | 54 | void print_usage (void); |
55 | 55 | ||
56 | /* number of times to perform each request to get a good average. */ | 56 | /* number of times to perform each request to get a good average. */ |