summaryrefslogtreecommitdiffstats
path: root/server/mpm_fdqueue.h
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2018-01-19 15:16:01 +0100
committerYann Ylavic <ylavic@apache.org>2018-01-19 15:16:01 +0100
commit5b6172385fc54786b27101df205596229e0667cd (patch)
treee744ee20797a285c81e21c20700c762d9614239d /server/mpm_fdqueue.h
parentmpm_fdqueue: follow up to r1821624. (diff)
downloadapache2-5b6172385fc54786b27101df205596229e0667cd.tar.xz
apache2-5b6172385fc54786b27101df205596229e0667cd.zip
mpm_fdqueue: follow up to r1821624.
Make the allocation and zero-ing in ap_queue_init() => ap_queue_create(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821660 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm_fdqueue.h')
-rw-r--r--server/mpm_fdqueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/mpm_fdqueue.h b/server/mpm_fdqueue.h
index f454e7bd0c..a4910f4243 100644
--- a/server/mpm_fdqueue.h
+++ b/server/mpm_fdqueue.h
@@ -86,7 +86,7 @@ void ap_pop_pool(apr_pool_t **recycled_pool, fd_queue_info_t *queue_info);
void ap_push_pool(fd_queue_info_t *queue_info, apr_pool_t *pool_to_recycle);
void ap_free_idle_pools(fd_queue_info_t *queue_info);
-apr_status_t ap_queue_init(fd_queue_t *queue, int capacity, apr_pool_t *p);
+apr_status_t ap_queue_create(fd_queue_t **pqueue, int capacity, apr_pool_t *p);
apr_status_t ap_queue_push_socket(fd_queue_t *queue,
apr_socket_t *sd, void *sd_baton,
apr_pool_t *p);