summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/testlock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testlock.c b/test/testlock.c
index 8ff1d9d41..c5479d678 100644
--- a/test/testlock.c
+++ b/test/testlock.c
@@ -126,6 +126,7 @@ static void *APR_THREAD_FUNC thread_mutex_function(apr_thread_t *thd, void *data
}
apr_thread_exit(thd, APR_SUCCESS);
+ return NULL;
}
/* Sleepy-loop until f_ value matches val: */
@@ -154,6 +155,7 @@ static void *APR_THREAD_FUNC thread_mutex_sleep_function(apr_thread_t *thd, void
rv = apr_thread_mutex_unlock(timeout_mutex);
apr_thread_exit(thd, APR_SUCCESS);
+ return NULL;
}
static void *APR_THREAD_FUNC thread_cond_producer(apr_thread_t *thd, void *data)