summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 11:55:05 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 11:55:05 (GMT)
commitce538b0dd9140fee6a961f35b5b6e2576304bad4 (patch)
tree21c57b99a87b39d77ad8234b0c702e0c37a94d1c /plugins
parentecbc67ec663a3b759369dc612db4ae2f8d84d177 (diff)
downloadmonitoring-plugins-ce538b0dd9140fee6a961f35b5b6e2576304bad4.tar.gz
check_nagios: do not export local variables
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_nagios.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_nagios.c b/plugins/check_nagios.c
index ebceb52..6a68984 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
43int process_arguments(int, char **); 43static int process_arguments(int /*argc*/, char ** /*argv*/);
44void print_help(void); 44static void print_help(void);
45void print_usage(void); 45void print_usage(void);
46 46
47char *status_log = NULL; 47static char *status_log = NULL;
48char *process_string = NULL; 48static char *process_string = NULL;
49int expire_minutes = 0; 49static int expire_minutes = 0;
50 50
51int verbose = 0; 51static int verbose = 0;
52 52
53int main(int argc, char **argv) { 53int main(int argc, char **argv) {
54 int result = STATE_UNKNOWN; 54 int result = STATE_UNKNOWN;