httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r771458 - /httpd/httpd/trunk/modules/mem/mod_sharedmem.c
Date Mon, 04 May 2009 21:45:50 GMT
Author: rpluem
Date: Mon May  4 21:45:50 2009
New Revision: 771458

URL: http://svn.apache.org/viewvc?rev=771458&view=rev
Log:
* Remove unused locking functions.

Modified:
    httpd/httpd/trunk/modules/mem/mod_sharedmem.c

Modified: httpd/httpd/trunk/modules/mem/mod_sharedmem.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mem/mod_sharedmem.c?rev=771458&r1=771457&r2=771458&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mem/mod_sharedmem.c (original)
+++ httpd/httpd/trunk/modules/mem/mod_sharedmem.c Mon May  4 21:45:50 2009
@@ -413,17 +413,6 @@
     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)
 {
 



Mime
View raw message