From: Colm MacCarthaigh Date: Wed, 24 Aug 2005 19:06:40 +0000 (+0000) Subject: Correct the function prototype/declaration X-Git-Tag: 2.3.0~3083 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea08df890ebc887d0e310fbbb653f9c394c320d0;p=apache Correct the function prototype/declaration git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239732 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/ap_listen.h b/include/ap_listen.h index ecff132a37..6182a8917d 100644 --- a/include/ap_listen.h +++ b/include/ap_listen.h @@ -80,7 +80,7 @@ AP_DECLARE(int) ap_setup_listeners(server_rec *s); /** * Loop through the global ap_listen_rec list and close each of the sockets. */ -AP_DECLARE_NONSTD(void) ap_close_listeners(); +AP_DECLARE_NONSTD(void) ap_close_listeners(void); /* Although these functions are exported from libmain, they are not really * public functions. These functions are actually called while parsing the diff --git a/server/listen.c b/server/listen.c index 15ad6a0ff9..cf382f3cd6 100644 --- a/server/listen.c +++ b/server/listen.c @@ -534,7 +534,8 @@ AP_DECLARE(int) ap_setup_listeners(server_rec *s) return num_listeners; } -AP_DECLARE_NONSTD(void) ap_close_listeners() { +AP_DECLARE_NONSTD(void) ap_close_listeners(void) +{ ap_listen_rec *lr; for (lr = ap_listeners; lr; lr = lr->next) {