[Nagios-devel] [PATCH] fix implicit declaration of function

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] [PATCH] fix implicit declaration of function

Post by Guest »


events.c: In function 'handle_timed_event':
events.c:1334: warning: implicit declaration of function 'check_for_expired_comment'

include comments.h to get the proper prototype.
---
base/events.c | 1 +
1 file changed, 1 insertion(+)

Index: nagios-2.5/base/events.c
===================================================================
--- nagios-2.5.orig/base/events.c
+++ nagios-2.5/base/events.c
@@ -24,6 +24,7 @@

#include "../include/config.h"
#include "../include/common.h"
+#include "../include/comments.h"
#include "../include/downtime.h"
#include "../include/statusdata.h"
#include "../include/nagios.h"





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked