diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-10 20:29:46 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-10 20:29:46 (GMT) |
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 8685e6f..54463e9 100644 --- a/lib/utils_base.c +++ b/lib/utils_base.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include "common.h" | 27 | #include "common.h" |
28 | #include <stdarg.h> | 28 | #include <stdarg.h> |
29 | #include "utils_base.h" | 29 | #include "utils_base.h" |
30 | #include <ctype.h> | ||
30 | #include <fcntl.h> | 31 | #include <fcntl.h> |
31 | #include <sys/stat.h> | 32 | #include <sys/stat.h> |
32 | 33 | ||
@@ -34,6 +35,8 @@ | |||
34 | 35 | ||
35 | nagios_plugin *this_nagios_plugin=NULL; | 36 | nagios_plugin *this_nagios_plugin=NULL; |
36 | 37 | ||
38 | int _np_state_read_file(FILE *); | ||
39 | |||
37 | void np_init( char *plugin_name, int argc, char **argv ) { | 40 | void np_init( char *plugin_name, int argc, char **argv ) { |
38 | if (this_nagios_plugin==NULL) { | 41 | if (this_nagios_plugin==NULL) { |
39 | this_nagios_plugin = calloc(1, sizeof(nagios_plugin)); | 42 | this_nagios_plugin = calloc(1, sizeof(nagios_plugin)); |