From: Chris Darroch Date: Wed, 18 Oct 2006 18:49:13 +0000 (+0000) Subject: added APR_THREAD_FUNC on listener_thread() in event and worker MPMs X-Git-Tag: 2.3.0~2061 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c4d3003b7a10a7b19096d823e5bc4e4f392fde8;p=thirdparty%2Fapache%2Fhttpd.git added APR_THREAD_FUNC on listener_thread() in event and worker MPMs 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 --- diff --git a/server/mpm/experimental/event/event.c b/server/mpm/experimental/event/event.c index 7688a6dc1b8..a6bd8259cb3 100644 --- a/server/mpm/experimental/event/event.c +++ b/server/mpm/experimental/event/event.c @@ -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; diff --git a/server/mpm/worker/worker.c b/server/mpm/worker/worker.c index 6121a12c287..aa4d32d4f25 100644 --- a/server/mpm/worker/worker.c +++ b/server/mpm/worker/worker.c @@ -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;