summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Querna <pquerna@apache.org>2008-12-07 06:11:42 +0000
committerPaul Querna <pquerna@apache.org>2008-12-07 06:11:42 +0000
commitd9ceaf6a9bd858ed015c1867618d97adb7fb10ee (patch)
tree5bcd9706d3f040893a494ce6528af06a8bc201fd
parent7ff39c3567ff265e90ad37dac5bcdadc7c0e8749 (diff)
downloadhttpd-d9ceaf6a9bd858ed015c1867618d97adb7fb10ee.tar.gz
Use APR_THREAD_FUNC for heart{beat,monitor} thread workers.
Suggested by: Takashi Sato <takashi lans-tv.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724090 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/cluster/mod_heartbeat.c2
-rw-r--r--modules/cluster/mod_heartmonitor.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/cluster/mod_heartbeat.c b/modules/cluster/mod_heartbeat.c
index 9902113fdc..bb62920cc9 100644
--- a/modules/cluster/mod_heartbeat.c
+++ b/modules/cluster/mod_heartbeat.c
@@ -118,7 +118,7 @@ static int hb_monitor(hb_ctx_t *ctx, apr_pool_t *p)
#define apr_time_from_msec(x) (x * 1000)
#endif
-static void *hb_worker(apr_thread_t *thd, void *data)
+static void* APR_THREAD_FUNC hb_worker(apr_thread_t *thd, void *data)
{
hb_ctx_t *ctx = (hb_ctx_t *) data;
apr_status_t rv;
diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c
index 86ed93402c..6d07d95cf3 100644
--- a/modules/cluster/mod_heartmonitor.c
+++ b/modules/cluster/mod_heartmonitor.c
@@ -287,7 +287,7 @@ static apr_status_t hm_recv(hm_ctx_t *ctx, apr_pool_t *p)
#define apr_time_from_msec(x) (x * 1000)
#endif
-static void *hm_worker(apr_thread_t *thd, void *data)
+static void* APR_THREAD_FUNC hm_worker(apr_thread_t *thd, void *data)
{
apr_time_t last;
hm_ctx_t *ctx = (hm_ctx_t *) data;