summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 12:31:13 +0100
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 12:31:13 +0100
commit07490350ca9b7ff2a4710c955b281f4ea99ded56 (patch)
tree0d1a870a7cbf7cd7fea19269472a0a79f0c2c462 /plugins
parent88584ddabc2f65b449088ea4ae1b0faf596821aa (diff)
downloadmonitoring-plugins-07490350ca9b7ff2a4710c955b281f4ea99ded56.tar.gz
check_mrtgtraf: do not export local symbols
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_mrtgtraf.c20
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";
36const char *copyright = "1999-2024"; 36const char *copyright = "1999-2024";
37const char *email = "devel@monitoring-plugins.org"; 37const char *email = "devel@monitoring-plugins.org";
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 = -1; 45static int expire_minutes = -1;
46bool use_average = true; 46static bool use_average = true;
47unsigned long incoming_warning_threshold = 0L; 47static unsigned long incoming_warning_threshold = 0L;
48unsigned long incoming_critical_threshold = 0L; 48static unsigned long incoming_critical_threshold = 0L;
49unsigned long outgoing_warning_threshold = 0L; 49static unsigned long outgoing_warning_threshold = 0L;
50unsigned long outgoing_critical_threshold = 0L; 50static unsigned long outgoing_critical_threshold = 0L;
51 51
52int main(int argc, char **argv) { 52int main(int argc, char **argv) {
53 int result = STATE_OK; 53 int result = STATE_OK;