test/testlock: Fix -Werror=return-type
* test/testlock.c(thread_mutex_function,
thread_mutex_sleep_function):
Thread (APR_THREAD_FUNC) functions should return a pointer (NULL).
@@ -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)
