From 289f07d754554191d202684b7664f9012c662f10 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 31 Oct 2024 02:57:07 +0100 Subject: check_cluster: linter fixes 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"; #include "utils.h" #include "utils_base.h" -#define CHECK_SERVICES 1 -#define CHECK_HOSTS 2 +enum { + CHECK_SERVICES = 1, + CHECK_HOSTS = 2 +}; static void print_help(void); void print_usage(void); @@ -55,7 +57,7 @@ static char *label = NULL; static int verbose = 0; -static int process_arguments(int, char **); +static int process_arguments(int /*argc*/, char ** /*argv*/); int main(int argc, char **argv) { char *ptr; -- cgit v0.10-9-g596f