diff options
author | 2001-09-04 22:17:44 +0000 | |
---|---|---|
committer | 2001-09-04 22:17:44 +0000 | |
commit | 76255b28fcbd9cdd77f49c23b6b60f68de906f88 (patch) | |
tree | 8b1adfbd865f3ad766fe5ed55b5dc298f9670823 /lib/libpthread/include/spinlock.h | |
parent | Fix a diagnostic (diff) | |
download | wireguard-openbsd-76255b28fcbd9cdd77f49c23b6b60f68de906f88.tar.xz wireguard-openbsd-76255b28fcbd9cdd77f49c23b6b60f68de906f88.zip |
put changes back, this time ALL the files.
Diffstat (limited to 'lib/libpthread/include/spinlock.h')
-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 77605003df0..51dc5fba4de 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.5 2000/01/06 07:06:42 d Exp $ - * $OpenBSD: spinlock.h,v 1.5 2000/01/06 07:06:42 d Exp $ + * $Id: spinlock.h,v 1.6 2001/09/04 22:17:45 fgsch Exp $ + * $OpenBSD: spinlock.h,v 1.6 2001/09/04 22:17:45 fgsch Exp $ * * Lock definitions used in both libc and libpthread. * @@ -48,7 +48,7 @@ typedef volatile struct { _spinlock_lock_t access_lock; void * lock_owner; - const char * fname; + char * fname; int lineno; } spinlock_t; @@ -68,7 +68,7 @@ typedef volatile struct { */ __BEGIN_DECLS void _spinlock __P((spinlock_t *)); -void _spinlock_debug __P((spinlock_t *, const char *, int)); +void _spinlock_debug __P((spinlock_t *, char *, int)); /* lock() functions return 0 if lock was acquired. */ /* is_locked functions() return 1 if lock is locked. */ |