]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
add creation type parameter per r771286
authorChris Darroch <chrisd@apache.org>
Tue, 5 May 2009 03:31:22 +0000 (03:31 +0000)
committerChris Darroch <chrisd@apache.org>
Tue, 5 May 2009 03:31:22 +0000 (03:31 +0000)
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

modules/mem/mod_plainmem.c

index cf7710bab20841b5e4ac327165277baa844db1f0..29e35992c404ae885abe8d7167dc55939bb4fbae 100644 (file)
@@ -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
 };