aboutsummaryrefslogtreecommitdiff
path: root/plugins/negate.c
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-09-10 22:29:46 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-09-10 22:29:46 +0200
commitb48cb1f130cda9818d06aaf74cdc7d2aef13bf42 (patch)
treeb53080fe5cf9b8ae1021dc226738afac973a5819 /plugins/negate.c
parentd4a781817cbe1c6168e0687aea968b7a6f348abe (diff)
downloadmonitoring-plugins-b48cb1f130cda9818d06aaf74cdc7d2aef13bf42.tar.gz
Fix GCC's -Wimplicit-function-declaration warnings
Fix the issues found by GCC when the -Wimplicit-function-declaration flag is specified.
Diffstat (limited to 'plugins/negate.c')
-rw-r--r--plugins/negate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/negate.c b/plugins/negate.c
index 493988ee..ef7d4e03 100644
--- a/plugins/negate.c
+++ b/plugins/negate.c
@@ -35,6 +35,8 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
#define DEFAULT_TIMEOUT 11
+#include <ctype.h>
+
#include "common.h"
#include "utils.h"
#include "utils_cmd.h"
@@ -43,6 +45,7 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
static const char **process_arguments (int, char **);
int validate_arguments (char **);
+int translate_state (char *);
void print_help (void);
void print_usage (void);
int subst_text = FALSE;