From b48cb1f130cda9818d06aaf74cdc7d2aef13bf42 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 10 Sep 2013 22:29:46 +0200 Subject: Fix GCC's -Wimplicit-function-declaration warnings Fix the issues found by GCC when the -Wimplicit-function-declaration flag is specified. --- lib/utils_base.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') 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 #include "utils_base.h" +#include #include #include @@ -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)); -- cgit v1.2.3