[PATCH] fix implicit declaration of function check_for_expired_comment

Olaf Hering olh at suse.de
Fri Sep 8 11:06:00 CEST 2006


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"

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Developers mailing list