diff options
| author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 02:57:07 +0100 |
|---|---|---|
| committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 02:57:07 +0100 |
| commit | 289f07d754554191d202684b7664f9012c662f10 (patch) | |
| tree | 43b0e8bf9d0e87fe53eeea11f8d39448c069a02e /plugins | |
| parent | ebb453f55ef6e64033ac50341963eb49cf457796 (diff) | |
| download | monitoring-plugins-289f07d754554191d202684b7664f9012c662f10.tar.gz | |
check_cluster: linter fixes
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_cluster.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c index 0afb3f42..b40c38c7 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 | 33 | enum { |
| 34 | #define CHECK_HOSTS 2 | 34 | CHECK_SERVICES = 1, |
| 35 | CHECK_HOSTS = 2 | ||
| 36 | }; | ||
| 35 | 37 | ||
| 36 | static void print_help(void); | 38 | static void print_help(void); |
| 37 | void print_usage(void); | 39 | void print_usage(void); |
| @@ -55,7 +57,7 @@ static char *label = NULL; | |||
| 55 | 57 | ||
| 56 | static int verbose = 0; | 58 | static int verbose = 0; |
| 57 | 59 | ||
| 58 | static int process_arguments(int, char **); | 60 | static int process_arguments(int /*argc*/, char ** /*argv*/); |
| 59 | 61 | ||
| 60 | int main(int argc, char **argv) { | 62 | int main(int argc, char **argv) { |
| 61 | char *ptr; | 63 | char *ptr; |
