summaryrefslogtreecommitdiffstats
path: root/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'sync.c')
-rw-r--r--sync.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/sync.c b/sync.c
index 913469a0..c6003afc 100644
--- a/sync.c
+++ b/sync.c
@@ -53,25 +53,3 @@ SyncObjExit(pthread_mutex_t **mut)
*mut = NULL;
}
}
-
-#ifndef NDEBUG
-/* lock an object. The synchronization tool (mutex) must be passed in.
- */
-void
-lockObj(pthread_mutex_t *mut)
-{
- BEGINfunc
- d_pthread_mutex_lock(mut);
- ENDfunc
-}
-
-/* unlock an object. The synchronization tool (mutex) must be passed in.
- */
-void
-unlockObj(pthread_mutex_t *mut)
-{
- BEGINfunc
- d_pthread_mutex_unlock(mut);
- ENDfunc
-}
-#endif /* #ifndef NDEBUG */