summaryrefslogtreecommitdiffstats
path: root/lib/utils_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils_base.c')
-rw-r--r--lib/utils_base.c3
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
35nagios_plugin *this_nagios_plugin=NULL; 36nagios_plugin *this_nagios_plugin=NULL;
36 37
38int _np_state_read_file(FILE *);
39
37void np_init( char *plugin_name, int argc, char **argv ) { 40void 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));