diff options
Diffstat (limited to 'lib/utils_base.c')
-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 @@ | |||
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)); |