diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-10 22:29:46 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-10 22:29:46 +0200 |
commit | b48cb1f130cda9818d06aaf74cdc7d2aef13bf42 (patch) | |
tree | b53080fe5cf9b8ae1021dc226738afac973a5819 /lib | |
parent | d4a781817cbe1c6168e0687aea968b7a6f348abe (diff) | |
download | monitoring-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 'lib')
-rw-r--r-- | lib/utils_base.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/utils_base.c b/lib/utils_base.c index 8685e6fe..54463e92 100644 --- a/lib/utils_base.c +++ b/lib/utils_base.c @@ -27,6 +27,7 @@ #include "common.h" #include <stdarg.h> #include "utils_base.h" +#include <ctype.h> #include <fcntl.h> #include <sys/stat.h> @@ -34,6 +35,8 @@ nagios_plugin *this_nagios_plugin=NULL; +int _np_state_read_file(FILE *); + void np_init( char *plugin_name, int argc, char **argv ) { if (this_nagios_plugin==NULL) { this_nagios_plugin = calloc(1, sizeof(nagios_plugin)); |