diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 12:31:13 +0100 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 12:31:13 +0100 |
commit | 07490350ca9b7ff2a4710c955b281f4ea99ded56 (patch) | |
tree | 0d1a870a7cbf7cd7fea19269472a0a79f0c2c462 /plugins | |
parent | 88584ddabc2f65b449088ea4ae1b0faf596821aa (diff) | |
download | monitoring-plugins-07490350ca9b7ff2a4710c955b281f4ea99ded56.tar.gz |
check_mrtgtraf: do not export local symbols
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_mrtgtraf.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/check_mrtgtraf.c b/plugins/check_mrtgtraf.c index 3f52065e..fc720b0e 100644 --- a/plugins/check_mrtgtraf.c +++ b/plugins/check_mrtgtraf.c | |||
@@ -36,18 +36,18 @@ const char *progname = "check_mrtgtraf"; | |||
36 | const char *copyright = "1999-2024"; | 36 | const char *copyright = "1999-2024"; |
37 | const char *email = "devel@monitoring-plugins.org"; | 37 | const char *email = "devel@monitoring-plugins.org"; |
38 | 38 | ||
39 | int process_arguments(int, char **); | 39 | static int process_arguments(int, char **); |
40 | int validate_arguments(void); | 40 | static int validate_arguments(void); |
41 | void print_help(void); | 41 | static void print_help(void); |
42 | void print_usage(void); | 42 | void print_usage(void); |
43 | 43 | ||
44 | char *log_file = NULL; | 44 | static char *log_file = NULL; |
45 | int expire_minutes = -1; | 45 | static int expire_minutes = -1; |
46 | bool use_average = true; | 46 | static bool use_average = true; |
47 | unsigned long incoming_warning_threshold = 0L; | 47 | static unsigned long incoming_warning_threshold = 0L; |
48 | unsigned long incoming_critical_threshold = 0L; | 48 | static unsigned long incoming_critical_threshold = 0L; |
49 | unsigned long outgoing_warning_threshold = 0L; | 49 | static unsigned long outgoing_warning_threshold = 0L; |
50 | unsigned long outgoing_critical_threshold = 0L; | 50 | static unsigned long outgoing_critical_threshold = 0L; |
51 | 51 | ||
52 | int main(int argc, char **argv) { | 52 | int main(int argc, char **argv) { |
53 | int result = STATE_OK; | 53 | int result = STATE_OK; |