summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-08 12:36:41 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-08 12:36:41 +0100
commit5130e5b0d3591866488bd03b00ca383cd7674b3c (patch)
treee5ed8ef1b719014d259162e2fcc7c8a56460c7b9
parente3efbb796a58e02eceeef2e12b1f159d687a1b2b (diff)
downloadmonitoring-plugins-5130e5b0d3591866488bd03b00ca383cd7674b3c.tar.gz
check_nwstat: delare file local variables static
-rw-r--r--plugins/check_nwstat.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/plugins/check_nwstat.c b/plugins/check_nwstat.c
index 3af63603..176dfbc8 100644
--- a/plugins/check_nwstat.c
+++ b/plugins/check_nwstat.c
@@ -89,30 +89,30 @@ enum {
89 PORT = 9999 89 PORT = 9999
90}; 90};
91 91
92char *server_address = NULL; 92static char *server_address = NULL;
93char *volume_name = NULL; 93static char *volume_name = NULL;
94char *nlm_name = NULL; 94static char *nlm_name = NULL;
95char *nrmp_name = NULL; 95static char *nrmp_name = NULL;
96char *nrmm_name = NULL; 96static char *nrmm_name = NULL;
97char *nrms_name = NULL; 97static char *nrms_name = NULL;
98char *nss1_name = NULL; 98static char *nss1_name = NULL;
99char *nss2_name = NULL; 99static char *nss2_name = NULL;
100char *nss3_name = NULL; 100static char *nss3_name = NULL;
101char *nss4_name = NULL; 101static char *nss4_name = NULL;
102char *nss5_name = NULL; 102static char *nss5_name = NULL;
103char *nss6_name = NULL; 103static char *nss6_name = NULL;
104char *nss7_name = NULL; 104static char *nss7_name = NULL;
105int server_port = PORT; 105static int server_port = PORT;
106unsigned long warning_value = 0L; 106static unsigned long warning_value = 0L;
107unsigned long critical_value = 0L; 107static unsigned long critical_value = 0L;
108bool check_warning_value = false; 108static bool check_warning_value = false;
109bool check_critical_value = false; 109static bool check_critical_value = false;
110bool check_netware_version = false; 110static bool check_netware_version = false;
111enum checkvar vars_to_check = NONE; 111static enum checkvar vars_to_check = NONE;
112int sap_number = -1; 112static int sap_number = -1;
113 113
114int process_arguments(int, char **); 114static int process_arguments(int /*argc*/, char ** /*argv*/);
115void print_help(void); 115static void print_help(void);
116void print_usage(void); 116void print_usage(void);
117 117
118int main(int argc, char **argv) { 118int main(int argc, char **argv) {