summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 11:21:40 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 11:21:40 (GMT)
commite170dbef11954d1590c0c077688494bf0bc4d110 (patch)
tree3a5409ac692a944a579a56cb33b8db4d13e77cb3 /plugins
parentfc6363879157a3e70f5d56357bda1ab7ff083ba4 (diff)
downloadmonitoring-plugins-e170dbef11954d1590c0c077688494bf0bc4d110.tar.gz
check_mrtg: do not export local symbols
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_mrtg.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c
index 0658f51..e82a0f9 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
39int process_arguments(int, char **); 39static int process_arguments(int, char **);
40int validate_arguments(void); 40static int validate_arguments(void);
41void print_help(void); 41static void print_help(void);
42void print_usage(void); 42void print_usage(void);
43 43
44char *log_file = NULL; 44static char *log_file = NULL;
45int expire_minutes = 0; 45static int expire_minutes = 0;
46bool use_average = true; 46static bool use_average = true;
47int variable_number = -1; 47static int variable_number = -1;
48unsigned long value_warning_threshold = 0L; 48static unsigned long value_warning_threshold = 0L;
49unsigned long value_critical_threshold = 0L; 49static unsigned long value_critical_threshold = 0L;
50char *label; 50static char *label;
51char *units; 51static char *units;
52 52
53int main(int argc, char **argv) { 53int main(int argc, char **argv) {
54 int result = STATE_OK; 54 int result = STATE_OK;