summaryrefslogtreecommitdiff
path: root/include/httpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/httpd.h')
-rw-r--r--include/httpd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/httpd.h b/include/httpd.h
index 419314fe31..96618c282a 100644
--- a/include/httpd.h
+++ b/include/httpd.h
@@ -2579,7 +2579,6 @@ AP_DECLARE(void *) ap_realloc(void *ptr, size_t size)
#endif
#define ap_thread_create apr_thread_create
#define ap_thread_current apr_thread_current
-#define ap_thread_current_create apr_thread_current_create
#define ap_thread_current_after_fork apr_thread_current_after_fork
#else /* !APR_VERSION_AT_LEAST(1,8,0) */
@@ -2607,14 +2606,15 @@ AP_DECLARE(apr_status_t) ap_thread_create(apr_thread_t **thread,
apr_thread_start_t func,
void *data, apr_pool_t *pool);
#endif /* AP_THREAD_LOCAL */
-AP_DECLARE(apr_status_t) ap_thread_current_create(apr_thread_t **current,
- apr_threadattr_t *attr,
- apr_pool_t *pool);
+
AP_DECLARE(void) ap_thread_current_after_fork(void);
AP_DECLARE(apr_thread_t *) ap_thread_current(void);
#endif /* !APR_VERSION_AT_LEAST(1,8,0) */
+AP_DECLARE(apr_status_t) ap_thread_main_create(apr_thread_t **thread,
+ apr_pool_t *pool);
+
#else /* !APR_HAS_THREADS */
#define AP_HAS_THREAD_LOCAL 0