diff options
Diffstat (limited to 'lib/libc_r/arch/sparc64/_atomic_lock.c')
-rw-r--r-- | lib/libc_r/arch/sparc64/_atomic_lock.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libc_r/arch/sparc64/_atomic_lock.c b/lib/libc_r/arch/sparc64/_atomic_lock.c index f14f9f51ba0..5e4115cf0fb 100644 --- a/lib/libc_r/arch/sparc64/_atomic_lock.c +++ b/lib/libc_r/arch/sparc64/_atomic_lock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: _atomic_lock.c,v 1.1 2001/09/10 20:00:14 jason Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.2 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); -} |