summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 01:57:07 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 01:57:07 (GMT)
commit289f07d754554191d202684b7664f9012c662f10 (patch)
tree43b0e8bf9d0e87fe53eeea11f8d39448c069a02e
parentebb453f55ef6e64033ac50341963eb49cf457796 (diff)
downloadmonitoring-plugins-289f07d754554191d202684b7664f9012c662f10.tar.gz
check_cluster: linter fixes
-rw-r--r--plugins/check_cluster.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c
index 0afb3f4..b40c38c 100644
--- a/plugins/check_cluster.c
+++ b/plugins/check_cluster.c
@@ -30,8 +30,10 @@ const char *email = "devel@monitoring-plugins.org";
30#include "utils.h" 30#include "utils.h"
31#include "utils_base.h" 31#include "utils_base.h"
32 32
33#define CHECK_SERVICES 1 33enum {
34#define CHECK_HOSTS 2 34 CHECK_SERVICES = 1,
35 CHECK_HOSTS = 2
36};
35 37
36static void print_help(void); 38static void print_help(void);
37void print_usage(void); 39void print_usage(void);
@@ -55,7 +57,7 @@ static char *label = NULL;
55 57
56static int verbose = 0; 58static int verbose = 0;
57 59
58static int process_arguments(int, char **); 60static int process_arguments(int /*argc*/, char ** /*argv*/);
59 61
60int main(int argc, char **argv) { 62int main(int argc, char **argv) {
61 char *ptr; 63 char *ptr;