diff options
| author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 12:55:05 +0100 |
|---|---|---|
| committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 12:55:05 +0100 |
| commit | ce538b0dd9140fee6a961f35b5b6e2576304bad4 (patch) | |
| tree | 21c57b99a87b39d77ad8234b0c702e0c37a94d1c /plugins | |
| parent | ecbc67ec663a3b759369dc612db4ae2f8d84d177 (diff) | |
| download | monitoring-plugins-ce538b0dd9140fee6a961f35b5b6e2576304bad4.tar.gz | |
check_nagios: do not export local variables
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_nagios.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_nagios.c b/plugins/check_nagios.c index ebceb526..6a689847 100644 --- a/plugins/check_nagios.c +++ b/plugins/check_nagios.c | |||
| @@ -40,15 +40,15 @@ const char *email = "devel@monitoring-plugins.org"; | |||
| 40 | #include "runcmd.h" | 40 | #include "runcmd.h" |
| 41 | #include "utils.h" | 41 | #include "utils.h" |
| 42 | 42 | ||
| 43 | int process_arguments(int, char **); | 43 | static int process_arguments(int /*argc*/, char ** /*argv*/); |
| 44 | void print_help(void); | 44 | static void print_help(void); |
| 45 | void print_usage(void); | 45 | void print_usage(void); |
| 46 | 46 | ||
| 47 | char *status_log = NULL; | 47 | static char *status_log = NULL; |
| 48 | char *process_string = NULL; | 48 | static char *process_string = NULL; |
| 49 | int expire_minutes = 0; | 49 | static int expire_minutes = 0; |
| 50 | 50 | ||
| 51 | int verbose = 0; | 51 | static int verbose = 0; |
| 52 | 52 | ||
| 53 | int main(int argc, char **argv) { | 53 | int main(int argc, char **argv) { |
| 54 | int result = STATE_UNKNOWN; | 54 | int result = STATE_UNKNOWN; |
