]> granicus.if.org Git - apache/commitdiff
Correct the function prototype/declaration
authorColm MacCarthaigh <colm@apache.org>
Wed, 24 Aug 2005 19:06:40 +0000 (19:06 +0000)
committerColm MacCarthaigh <colm@apache.org>
Wed, 24 Aug 2005 19:06:40 +0000 (19:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239732 13f79535-47bb-0310-9956-ffa450edef68

include/ap_listen.h
server/listen.c

index ecff132a37b3ebd6553019975ab0ad752ffcb08d..6182a8917d9c8f13f70c9bc3fcc613c7a3c1adcc 100644 (file)
@@ -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
index 15ad6a0ff90ed5974588a8b974668979c55b228d..cf382f3cd6d9abc6ff561ef749bbf9b8b3869202 100644 (file)
@@ -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) {