diff options
author | 2003-01-31 04:46:16 +0000 | |
---|---|---|
committer | 2003-01-31 04:46:16 +0000 | |
commit | 644b0b5fa72e35c9fc7dc0abe910d822d28cf38d (patch) | |
tree | 1563377f6846d8bc600232851c9b7bae3cf5bcf8 /lib/libpthread/include | |
parent | fetch the font and use it, some cleanup and knf (diff) | |
download | wireguard-openbsd-644b0b5fa72e35c9fc7dc0abe910d822d28cf38d.tar.xz wireguard-openbsd-644b0b5fa72e35c9fc7dc0abe910d822d28cf38d.zip |
Create a siginfo_t for thread-to-thread kill.
Clean up (compiler warning elimination). Compile check options added
but commented out as they have not been checked on all architectures, yet.
Diffstat (limited to 'lib/libpthread/include')
-rw-r--r-- | lib/libpthread/include/spinlock.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/include/spinlock.h b/lib/libpthread/include/spinlock.h index 8c87e963de1..717072115b0 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.7 2002/02/16 21:27:25 millert Exp $ - * $OpenBSD: spinlock.h,v 1.7 2002/02/16 21:27:25 millert Exp $ + * $Id: spinlock.h,v 1.8 2003/01/31 04:46:17 marc Exp $ + * $OpenBSD: spinlock.h,v 1.8 2003/01/31 04:46:17 marc Exp $ * * Lock definitions used in both libc and libpthread. * @@ -48,7 +48,7 @@ typedef volatile struct { _spinlock_lock_t access_lock; void * lock_owner; - char * fname; + const char * fname; int lineno; } spinlock_t; @@ -68,7 +68,7 @@ typedef volatile struct { */ __BEGIN_DECLS void _spinlock(spinlock_t *); -void _spinlock_debug(spinlock_t *, char *, int); +void _spinlock_debug(spinlock_t *, const char *, int); /* lock() functions return 0 if lock was acquired. */ /* is_locked functions() return 1 if lock is locked. */ |