diff options
author | 1999-01-18 00:03:34 +0000 | |
---|---|---|
committer | 1999-01-18 00:03:34 +0000 | |
commit | 1050632c0caf1a57af7dcb4b828c92b992e6a1bb (patch) | |
tree | f1391bdd933fd4d52bb426d46f1e397aa3d12d66 /lib/libpthread | |
parent | typo; nice (diff) | |
download | wireguard-openbsd-1050632c0caf1a57af7dcb4b828c92b992e6a1bb.tar.xz wireguard-openbsd-1050632c0caf1a57af7dcb4b828c92b992e6a1bb.zip |
move private spinlock protos out
Diffstat (limited to 'lib/libpthread')
-rw-r--r-- | lib/libpthread/include/spinlock.h | 6 | ||||
-rw-r--r-- | lib/libpthread/uthread/pthread_private.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libpthread/include/spinlock.h b/lib/libpthread/include/spinlock.h index 152e6f2e775..4da4a9ec500 100644 --- a/lib/libpthread/include/spinlock.h +++ b/lib/libpthread/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/libpthread/uthread/pthread_private.h b/lib/libpthread/uthread/pthread_private.h index ff318b3b611..851e1b4b7a0 100644 --- a/lib/libpthread/uthread/pthread_private.h +++ b/lib/libpthread/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 |