]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
added APR_THREAD_FUNC on listener_thread() in event and worker MPMs
authorChris Darroch <chrisd@apache.org>
Wed, 18 Oct 2006 18:49:13 +0000 (18:49 +0000)
committerChris Darroch <chrisd@apache.org>
Wed, 18 Oct 2006 18:49:13 +0000 (18:49 +0000)
to match definition of apr_thread_start_t

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@465333 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/experimental/event/event.c
server/mpm/worker/worker.c

index 7688a6dc1b807c48744c402bc6e8c214f7429a93..a6bd8259cb3242a65a72433df83ffd12e5de2606 100644 (file)
@@ -878,7 +878,7 @@ static int get_worker(int *have_idle_worker_p)
     }
 }
 
-static void *listener_thread(apr_thread_t * thd, void *dummy)
+static void * APR_THREAD_FUNC listener_thread(apr_thread_t * thd, void *dummy)
 {
     apr_status_t rc;
     proc_info *ti = dummy;
index 6121a12c2875229c964180496c45f020c38ec7cf..aa4d32d4f25a5e093fa5296f2521958db5c4099a 100644 (file)
@@ -590,7 +590,7 @@ static void dummy_signal_handler(int sig)
      */
 }
 
-static void *listener_thread(apr_thread_t *thd, void * dummy)
+static void * APR_THREAD_FUNC listener_thread(apr_thread_t *thd, void * dummy)
 {
     proc_info * ti = dummy;
     int process_slot = ti->pid;