httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r239732 - in /httpd/httpd/trunk: include/ap_listen.h server/listen.c
Date Wed, 24 Aug 2005 19:06:43 GMT
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) {



Mime
View raw message