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/powerpc | |
parent | bc30f8b96f415f61eb8fc60add0e510e9416991c (diff) |
Use the system include <spinlock.h> to get the proper function
prototype for _atomic_lock
Diffstat (limited to 'lib/librthread/arch/powerpc')
-rw-r--r-- | lib/librthread/arch/powerpc/_atomic_lock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/arch/powerpc/_atomic_lock.c b/lib/librthread/arch/powerpc/_atomic_lock.c index 6f3429acb6b..207ec6f6d89 100644 --- a/lib/librthread/arch/powerpc/_atomic_lock.c +++ b/lib/librthread/arch/powerpc/_atomic_lock.c @@ -1,9 +1,9 @@ -/* $OpenBSD: _atomic_lock.c,v 1.2 2005/12/14 21:29:48 drahn Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.3 2006/01/05 22:33:24 marc Exp $ */ /* * Atomic lock for powerpc */ -#include "spinlock.h" +#include <spinlock.h> int _atomic_lock(volatile _spinlock_lock_t *lock) |