From: Chris Darroch Date: Tue, 5 May 2009 03:31:22 +0000 (+0000) Subject: add creation type parameter per r771286 X-Git-Tag: 2.3.3~663 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17b05a236ea01c548d5755df3524a614350da727;p=thirdparty%2Fapache%2Fhttpd.git add creation type parameter per r771286 remove lock/unlock structure elements per r771262 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771539 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mem/mod_plainmem.c b/modules/mem/mod_plainmem.c index cf7710bab20..29e35992c40 100644 --- a/modules/mem/mod_plainmem.c +++ b/modules/mem/mod_plainmem.c @@ -51,7 +51,7 @@ static apr_status_t slotmem_do(ap_slotmem_t *mem, ap_slotmem_callback_fn_t *func return APR_SUCCESS; } -static apr_status_t slotmem_create(ap_slotmem_t **new, const char *name, apr_size_t item_size, unsigned int item_num, apr_pool_t *pool) +static apr_status_t slotmem_create(ap_slotmem_t **new, const char *name, apr_size_t item_size, unsigned int item_num, int type, apr_pool_t *pool) { ap_slotmem_t *res; ap_slotmem_t *next = globallistmem; @@ -184,8 +184,6 @@ static const ap_slotmem_storage_method storage = { &slotmem_create, &slotmem_attach, &slotmem_mem, - NULL, - NULL, &slotmem_get, &slotmem_put };