diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 12:21:40 +0100 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 12:21:40 +0100 |
commit | e170dbef11954d1590c0c077688494bf0bc4d110 (patch) | |
tree | 3a5409ac692a944a579a56cb33b8db4d13e77cb3 | |
parent | fc6363879157a3e70f5d56357bda1ab7ff083ba4 (diff) | |
download | monitoring-plugins-e170dbef11954d1590c0c077688494bf0bc4d110.tar.gz |
check_mrtg: do not export local symbols
-rw-r--r-- | plugins/check_mrtg.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c index 0658f514..e82a0f98 100644 --- a/plugins/check_mrtg.c +++ b/plugins/check_mrtg.c | |||
@@ -36,19 +36,19 @@ const char *email = "devel@monitoring-plugins.org"; | |||
36 | #include "common.h" | 36 | #include "common.h" |
37 | #include "utils.h" | 37 | #include "utils.h" |
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 = 0; | 45 | static int expire_minutes = 0; |
46 | bool use_average = true; | 46 | static bool use_average = true; |
47 | int variable_number = -1; | 47 | static int variable_number = -1; |
48 | unsigned long value_warning_threshold = 0L; | 48 | static unsigned long value_warning_threshold = 0L; |
49 | unsigned long value_critical_threshold = 0L; | 49 | static unsigned long value_critical_threshold = 0L; |
50 | char *label; | 50 | static char *label; |
51 | char *units; | 51 | static char *units; |
52 | 52 | ||
53 | int main(int argc, char **argv) { | 53 | int main(int argc, char **argv) { |
54 | int result = STATE_OK; | 54 | int result = STATE_OK; |