summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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 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 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;