diff options
author | Guenter Knauf <fuankg@apache.org> | 2010-09-01 18:17:23 +0200 |
---|---|---|
committer | Guenter Knauf <fuankg@apache.org> | 2010-09-01 18:17:23 +0200 |
commit | 973eb55182723f35905d9afaa3db60264eef57dd (patch) | |
tree | 8dfa5594115b25230f4fa9d7d9a29dc848274935 /os/netware | |
parent | set default pattern type using the enum value instead of (diff) | |
download | apache2-973eb55182723f35905d9afaa3db60264eef57dd.tar.xz apache2-973eb55182723f35905d9afaa3db60264eef57dd.zip |
Added require prototypes conditionally to CFLAGS for NETWare;
added header includes for getting protos.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@991588 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os/netware')
-rw-r--r-- | os/netware/util_nw.c | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/os/netware/util_nw.c b/os/netware/util_nw.c index bfa196e66b..25e0ef42a2 100644 --- a/os/netware/util_nw.c +++ b/os/netware/util_nw.c @@ -16,9 +16,15 @@ #include "httpd.h" #include "http_log.h" +#include "ap_mpm.h" #include <netware.h> #include <nks/netware.h> +#include <nks/vm.h> + +void ap_down_server_cb(void *, void *); +void ap_dummy_cb(void *, void *); +void ap_cb_destroy(void *); int nlmUnloadSignaled(int wait); event_handle_t eh; @@ -35,15 +41,15 @@ AP_DECLARE(apr_status_t) ap_os_create_privileged_process( return apr_proc_create(newproc, progname, args, env, attr, p); } -int _NonAppCheckUnload( void ) +int _NonAppCheckUnload(void) { - return nlmUnloadSignaled(1); + return nlmUnloadSignaled(1); } // down server event callback void ap_down_server_cb(void *, void *) { - nlmUnloadSignaled(0); + nlmUnloadSignaled(0); return; } @@ -56,10 +62,10 @@ void ap_dummy_cb(void *, void *) // destroy callback resources void ap_cb_destroy(void *) { - // cleanup down event notification - UnRegisterEventNotification(eh); - NX_UNWRAP_INTERFACE(ref); - NX_UNWRAP_INTERFACE(dum); + // cleanup down event notification + UnRegisterEventNotification(eh); + NX_UNWRAP_INTERFACE(ref); + NX_UNWRAP_INTERFACE(dum); } int _NonAppStart |