diff options
author | David Leonard <d@cvs.openbsd.org> | 1999-01-18 00:03:36 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1999-01-18 00:03:36 +0000 |
commit | ed4fdea26bcbd6abe878da863805f86822acf277 (patch) | |
tree | 6a21e1c4bd63c551fe639e10e1b08e77a35cbcba /lib/libc_r | |
parent | 136a4ee3dab2f69e093af3c9255aa23428cb8183 (diff) |
move private spinlock protos out
Diffstat (limited to 'lib/libc_r')
-rw-r--r-- | lib/libc_r/include/spinlock.h | 6 | ||||
-rw-r--r-- | lib/libc_r/uthread/pthread_private.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc_r/include/spinlock.h b/lib/libc_r/include/spinlock.h index 152e6f2e775..4da4a9ec500 100644 --- a/lib/libc_r/include/spinlock.h +++ b/lib/libc_r/include/spinlock.h @@ -29,8 +29,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: spinlock.h,v 1.2 1999/01/08 08:25:37 d Exp $ - * $OpenBSD: spinlock.h,v 1.2 1999/01/08 08:25:37 d Exp $ + * $Id: spinlock.h,v 1.3 1999/01/18 00:03:34 d Exp $ + * $OpenBSD: spinlock.h,v 1.3 1999/01/18 00:03:34 d Exp $ * * Lock definitions used in both libc and libpthread. * @@ -72,8 +72,6 @@ void _spinlock_debug __P((spinlock_t *, const char *, int)); /* is_locked functions() return 1 if lock is locked. */ int _atomic_lock __P((volatile _spinlock_lock_t *)); int _atomic_is_locked __P((volatile _spinlock_lock_t *)); -int _thread_slow_atomic_lock __P((volatile _spinlock_lock_t *)); -int _thread_slow_atomic_is_locked __P((volatile _spinlock_lock_t *)); __END_DECLS #endif /* _SPINLOCK_H_ */ diff --git a/lib/libc_r/uthread/pthread_private.h b/lib/libc_r/uthread/pthread_private.h index ff318b3b611..851e1b4b7a0 100644 --- a/lib/libc_r/uthread/pthread_private.h +++ b/lib/libc_r/uthread/pthread_private.h @@ -31,7 +31,7 @@ * * Private thread definitions for the uthread kernel. * - * $OpenBSD: pthread_private.h,v 1.11 1999/01/18 00:00:32 d Exp $ + * $OpenBSD: pthread_private.h,v 1.12 1999/01/18 00:03:35 d Exp $ * */ @@ -597,6 +597,8 @@ void _thread_enter_cancellation_point(void); void _thread_leave_cancellation_point(void); void _thread_cancellation_point(void); void _thread_atfork(int); +int _thread_slow_atomic_lock(volatile _spinlock_lock_t *); +int _thread_slow_atomic_is_locked(volatile _spinlock_lock_t *); /* #include <signal.h> */ #ifdef _USER_SIGNAL_H |