From: William A. Rowe Jr Date: Fri, 22 Jul 2016 12:28:54 +0000 (+0000) Subject: Permit mod_proxy_hcheck.c to compile on Win32 32-bit architectures. X-Git-Tag: 2.5.0-alpha~1382 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e2f089d45db634255aa39f4465bc7b121538b3a;p=thirdparty%2Fapache%2Fhttpd.git Permit mod_proxy_hcheck.c to compile on Win32 32-bit architectures. This decoration is required for all apr_thread fn() entry points, at least on some platforms. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1753777 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_hcheck.c b/modules/proxy/mod_proxy_hcheck.c index d1f395368fb..d958b5dafff 100644 --- a/modules/proxy/mod_proxy_hcheck.c +++ b/modules/proxy/mod_proxy_hcheck.c @@ -775,7 +775,7 @@ static apr_status_t hc_check_http(sctx_t *ctx, apr_pool_t *ptemp, proxy_worker * return backend_cleanup("HCOH", backend, ctx->s, status); } -static void *hc_check(apr_thread_t *thread, void *b) +static void * APR_THREAD_FUNC hc_check(apr_thread_t *thread, void *b) { baton_t *baton = (baton_t *)b; sctx_t *ctx = baton->ctx;