Commit 0599ddd8 authored by Colm MacCarthaigh's avatar Colm MacCarthaigh
Browse files

Correct the function prototype/declaration 



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239732 13f79535-47bb-0310-9956-ffa450edef68
parent 1af8e063
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+2 −1
Original line number Diff line number Diff line
@@ -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) {