diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 2006-01-05 22:33:25 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 2006-01-05 22:33:25 +0000 |
commit | 49d294f1487f1bbb4f1d5492e16bcf936540fbb7 (patch) | |
tree | ed83763afadd9a11fb04bca564501e6c633285e1 /lib/librthread/arch/sparc64 | |
parent | bc30f8b96f415f61eb8fc60add0e510e9416991c (diff) |
Use the system include <spinlock.h> to get the proper function
prototype for _atomic_lock
Diffstat (limited to 'lib/librthread/arch/sparc64')
-rw-r--r-- | lib/librthread/arch/sparc64/_atomic_lock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/arch/sparc64/_atomic_lock.c b/lib/librthread/arch/sparc64/_atomic_lock.c index 34dd2234d17..8cb7779a277 100644 --- a/lib/librthread/arch/sparc64/_atomic_lock.c +++ b/lib/librthread/arch/sparc64/_atomic_lock.c @@ -1,9 +1,9 @@ -/* $OpenBSD: _atomic_lock.c,v 1.1 2005/12/25 16:21:01 miod Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.2 2006/01/05 22:33:24 marc Exp $ */ /* * Atomic lock for sparc64 */ -#include "spinlock.h" +#include <spinlock.h> int _atomic_lock(volatile _spinlock_lock_t * lock) |