You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2005/08/24 21:06:43 UTC

svn commit: r239732 - in /httpd/httpd/trunk: include/ap_listen.h server/listen.c

Author: colm
Date: Wed Aug 24 12:06:40 2005
New Revision: 239732

URL: http://svn.apache.org/viewcvs?rev=239732&view=rev
Log:

Correct the function prototype/declaration 


Modified:
    httpd/httpd/trunk/include/ap_listen.h
    httpd/httpd/trunk/server/listen.c

Modified: httpd/httpd/trunk/include/ap_listen.h
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/include/ap_listen.h?rev=239732&r1=239731&r2=239732&view=diff
==============================================================================
--- httpd/httpd/trunk/include/ap_listen.h (original)
+++ httpd/httpd/trunk/include/ap_listen.h Wed Aug 24 12:06:40 2005
@@ -80,7 +80,7 @@
 /**
  * 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

Modified: httpd/httpd/trunk/server/listen.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/listen.c?rev=239732&r1=239731&r2=239732&view=diff
==============================================================================
--- httpd/httpd/trunk/server/listen.c (original)
+++ httpd/httpd/trunk/server/listen.c Wed Aug 24 12:06:40 2005
@@ -534,7 +534,8 @@
     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) {