diff options
| -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; |
