diff options
Diffstat (limited to 'lib/libpthread/arch/m68k/_atomic_lock.c')
-rw-r--r-- | lib/libpthread/arch/m68k/_atomic_lock.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libpthread/arch/m68k/_atomic_lock.c b/lib/libpthread/arch/m68k/_atomic_lock.c index c91b11ce26e..af162f36091 100644 --- a/lib/libpthread/arch/m68k/_atomic_lock.c +++ b/lib/libpthread/arch/m68k/_atomic_lock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: _atomic_lock.c,v 1.5 1999/03/10 09:32:01 d Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.6 2002/10/11 19:08:41 marc Exp $ */ /* * Atomic lock for m68k */ @@ -34,10 +34,3 @@ _atomic_lock(volatile _spinlock_lock_t *lock) : "cc"); return (old != _SPINLOCK_UNLOCKED); } - -int -_atomic_is_locked(volatile _spinlock_lock_t *lock) -{ - - return (*lock != _SPINLOCK_UNLOCKED); -} |