[PATCH] fix implicit declaration of function neb_deregister_module_callbacks
Olaf Hering
olh at suse.de
Fri Sep 8 11:06:51 CEST 2006
nebmods.c: In function 'neb_unload_module':
nebmods.c:326: warning: implicit declaration of function 'neb_deregister_module_callbacks'
Either move the function before neb_unload_module and make it static,
or put the declaration in a header file.
---
include/nebcallbacks.h | 1 +
1 file changed, 1 insertion(+)
Index: nagios-2.5/include/nebcallbacks.h
===================================================================
--- nagios-2.5.orig/include/nebcallbacks.h
+++ nagios-2.5/include/nebcallbacks.h
@@ -76,6 +76,7 @@
int neb_register_callback(int callback_type, void *mod_handle, int priority, int (*callback_func)(int,void *));
int neb_deregister_callback(int callback_type, int (*callback_func)(int,void *));
+int neb_deregister_module_callbacks(nebmodule *mod);
#ifdef __cplusplus
}
-------------------------------------------------------------------------
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