From e170dbef11954d1590c0c077688494bf0bc4d110 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 31 Oct 2024 12:21:40 +0100 Subject: check_mrtg: do not export local symbols 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"; #include "common.h" #include "utils.h" -int process_arguments(int, char **); -int validate_arguments(void); -void print_help(void); +static int process_arguments(int, char **); +static int validate_arguments(void); +static void print_help(void); void print_usage(void); -char *log_file = NULL; -int expire_minutes = 0; -bool use_average = true; -int variable_number = -1; -unsigned long value_warning_threshold = 0L; -unsigned long value_critical_threshold = 0L; -char *label; -char *units; +static char *log_file = NULL; +static int expire_minutes = 0; +static bool use_average = true; +static int variable_number = -1; +static unsigned long value_warning_threshold = 0L; +static unsigned long value_critical_threshold = 0L; +static char *label; +static char *units; int main(int argc, char **argv) { int result = STATE_OK; -- cgit v0.10-9-g596f