]> granicus.if.org Git - apache/commitdiff
* Remove unused locking functions.
authorRuediger Pluem <rpluem@apache.org>
Mon, 4 May 2009 21:45:50 +0000 (21:45 +0000)
committerRuediger Pluem <rpluem@apache.org>
Mon, 4 May 2009 21:45:50 +0000 (21:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771458 13f79535-47bb-0310-9956-ffa450edef68

modules/mem/mod_sharedmem.c

index 259f46677366be3367de55c1eecace9bba6aca82..6f2e7e67f9b41ba552ddd680d43474c778e9559f 100644 (file)
@@ -413,17 +413,6 @@ static apr_status_t slotmem_mem(ap_slotmem_t *slot, unsigned int id, void **mem)
     return APR_SUCCESS;
 }
 
-/* XXX: Those 2 should be removed */
-static apr_status_t slotmem_lock(ap_slotmem_t *slot)
-{
-    return (apr_global_mutex_lock(slot->smutex));
-}
-
-static apr_status_t slotmem_unlock(ap_slotmem_t *slot)
-{
-    return (apr_global_mutex_unlock(slot->smutex));
-}
-
 static apr_status_t slotmem_get(ap_slotmem_t *slot, unsigned int id, unsigned char *dest, apr_size_t dest_len)
 {