From: Guenter Knauf Date: Mon, 4 Oct 2010 15:49:28 +0000 (+0000) Subject: Fixed declaration; added return value. X-Git-Tag: 2.3.9~357 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b59acde98e90e0aeb3ec417559508d478af63e2e;p=thirdparty%2Fapache%2Fhttpd.git Fixed declaration; added return value. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1004298 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/os/netware/util_nw.c b/os/netware/util_nw.c index b2a18183776..97845d47374 100644 --- a/os/netware/util_nw.c +++ b/os/netware/util_nw.c @@ -47,20 +47,20 @@ int _NonAppCheckUnload(void) } /* down server event callback */ -void ap_down_server_cb(void *, void *) +void ap_down_server_cb(void *a, void *b) { nlmUnloadSignaled(0); return; } /* Required place holder event callback */ -void ap_dummy_cb(void *, void *) +void ap_dummy_cb(void *a, void *b) { return; } /* destroy callback resources */ -void ap_cb_destroy(void *) +void ap_cb_destroy(void *a) { /* cleanup down event notification */ UnRegisterEventNotification(eh); @@ -107,5 +107,6 @@ int _NonAppStart /* clean-up */ NXVmRegisterExitHandler(ap_cb_destroy, NULL); + return 0; }