From: Ruediger Pluem Date: Mon, 4 May 2009 21:45:50 +0000 (+0000) Subject: * Remove unused locking functions. X-Git-Tag: 2.3.3~665 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95fdcaef0e4cc312ed56044aa3cf3633597ed29c;p=thirdparty%2Fapache%2Fhttpd.git * Remove unused locking functions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771458 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mem/mod_sharedmem.c b/modules/mem/mod_sharedmem.c index 259f4667736..6f2e7e67f9b 100644 --- a/modules/mem/mod_sharedmem.c +++ b/modules/mem/mod_sharedmem.c @@ -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) {