summaryrefslogtreecommitdiff
path: root/locks
diff options
context:
space:
mode:
authorbnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68>2002-01-08 21:00:37 +0000
committerbnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68>2002-01-08 21:00:37 +0000
commit7546f534354f59a602f637eadbf2e257969da7d4 (patch)
tree1a46717eef0fffa8c8019b6286c0b7a92a9c5390 /locks
parent8a6a34e3740e56a227e509fc1843daef66f92699 (diff)
downloadlibapr-7546f534354f59a602f637eadbf2e257969da7d4.tar.gz
Cleanup work on the proc stubs that are unused in NetWare
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62723 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks')
-rw-r--r--locks/netware/proc_mutex.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/locks/netware/proc_mutex.c b/locks/netware/proc_mutex.c
index 190332893..77022122a 100644
--- a/locks/netware/proc_mutex.c
+++ b/locks/netware/proc_mutex.c
@@ -101,23 +101,13 @@ APR_POOL_IMPLEMENT_ACCESSOR(proc_mutex)
apr_status_t apr_os_proc_mutex_get(apr_os_proc_mutex_t *ospmutex,
apr_proc_mutex_t *pmutex)
{
- ospmutex = pmutex->mutex;
- return APR_SUCCESS;
+ return APR_ENOTIMPL;
}
apr_status_t apr_os_proc_mutex_put(apr_proc_mutex_t **pmutex,
apr_os_proc_mutex_t *ospmutex,
apr_pool_t *pool)
{
- if (pool == NULL) {
- return APR_ENOPOOL;
- }
- if ((*pmutex) == NULL) {
- (*pmutex) = (apr_proc_mutex_t *)apr_palloc(pool,
- sizeof(apr_proc_mutex_t));
- (*pmutex)->pool = pool;
- }
- (*pmutex)->mutex = ospmutex;
- return APR_SUCCESS;
+ return APR_ENOTIMPL;
}