summaryrefslogtreecommitdiff
path: root/lib/libpthread/arch/sparc/_atomic_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/arch/sparc/_atomic_lock.c')
-rw-r--r--lib/libpthread/arch/sparc/_atomic_lock.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libpthread/arch/sparc/_atomic_lock.c b/lib/libpthread/arch/sparc/_atomic_lock.c
index d0974017de4..09ef32393eb 100644
--- a/lib/libpthread/arch/sparc/_atomic_lock.c
+++ b/lib/libpthread/arch/sparc/_atomic_lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: _atomic_lock.c,v 1.6 1999/03/10 09:30:53 d Exp $ */
+/* $OpenBSD: _atomic_lock.c,v 1.7 2002/10/11 19:08:41 marc Exp $ */
/*
* Atomic lock for sparc
*/
@@ -39,10 +39,3 @@ _atomic_lock(volatile _spinlock_lock_t * lock)
return (old == _SPINLOCK_LOCKED);
}
-
-int
-_atomic_is_locked(volatile _spinlock_lock_t * lock)
-{
-
- return (*lock == _SPINLOCK_LOCKED);
-}