forked from pool/monitoring-plugins
27 lines
674 B
Diff
27 lines
674 B
Diff
|
---
|
||
|
plugins/negate.c | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
Index: plugins/negate.c
|
||
|
===================================================================
|
||
|
--- plugins/negate.c.orig
|
||
|
+++ plugins/negate.c
|
||
|
@@ -44,7 +44,7 @@ const char *email = "nagiosplug-devel@li
|
||
|
/* char *command_line; */
|
||
|
|
||
|
static const char **process_arguments (int, char **);
|
||
|
-int validate_arguments (char **);
|
||
|
+void validate_arguments (char **);
|
||
|
int translate_state (char *);
|
||
|
void print_help (void);
|
||
|
void print_usage (void);
|
||
|
@@ -207,7 +207,7 @@ process_arguments (int argc, char **argv
|
||
|
}
|
||
|
|
||
|
|
||
|
-int
|
||
|
+void
|
||
|
validate_arguments (char **command_line)
|
||
|
{
|
||
|
if (command_line[0] == NULL)
|