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 | |
parent | bc30f8b96f415f61eb8fc60add0e510e9416991c (diff) |
Use the system include <spinlock.h> to get the proper function
prototype for _atomic_lock
Diffstat (limited to 'lib')
-rw-r--r-- | lib/librthread/arch/amd64/_atomic_lock.c | 4 | ||||
-rw-r--r-- | lib/librthread/arch/arm/_atomic_lock.c | 4 | ||||
-rw-r--r-- | lib/librthread/arch/hppa/_atomic_lock.c | 4 | ||||
-rw-r--r-- | lib/librthread/arch/i386/_atomic_lock.c | 4 | ||||
-rw-r--r-- | lib/librthread/arch/m68k/_atomic_lock.c | 4 | ||||
-rw-r--r-- | lib/librthread/arch/m88k/_atomic_lock.c | 4 | ||||
-rw-r--r-- | lib/librthread/arch/mips64/_atomic_lock.c | 4 | ||||
-rw-r--r-- | lib/librthread/arch/powerpc/_atomic_lock.c | 4 | ||||
-rw-r--r-- | lib/librthread/arch/sparc/_atomic_lock.c | 4 | ||||
-rw-r--r-- | lib/librthread/arch/sparc64/_atomic_lock.c | 4 | ||||
-rw-r--r-- | lib/librthread/arch/vax/_atomic_lock.c | 4 |
11 files changed, 22 insertions, 22 deletions
diff --git a/lib/librthread/arch/amd64/_atomic_lock.c b/lib/librthread/arch/amd64/_atomic_lock.c index 14569edc562..c05181bf9e7 100644 --- a/lib/librthread/arch/amd64/_atomic_lock.c +++ b/lib/librthread/arch/amd64/_atomic_lock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: _atomic_lock.c,v 1.1 2005/12/03 18:16:19 tedu Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.2 2006/01/05 22:33:23 marc Exp $ */ /* David Leonard, <d@csee.uq.edu.au>. Public domain. */ @@ -6,7 +6,7 @@ * Atomic lock for amd64 -- taken from i386 code. */ -#include "spinlock.h" +#include <spinlock.h> int _atomic_lock(volatile _spinlock_lock_t *lock) diff --git a/lib/librthread/arch/arm/_atomic_lock.c b/lib/librthread/arch/arm/_atomic_lock.c index 094a3c4c27f..01a3cef3a9f 100644 --- a/lib/librthread/arch/arm/_atomic_lock.c +++ b/lib/librthread/arch/arm/_atomic_lock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: _atomic_lock.c,v 1.1 2005/12/14 19:42:25 drahn Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.2 2006/01/05 22:33:23 marc Exp $ */ /* * Copyright (c) 2004 Dale Rahn. All rights reserved. @@ -28,7 +28,7 @@ * Atomic lock for arm */ -#include "spinlock.h" +#include <spinlock.h> int _atomic_lock(volatile _spinlock_lock_t *lock) diff --git a/lib/librthread/arch/hppa/_atomic_lock.c b/lib/librthread/arch/hppa/_atomic_lock.c index 2b21ee26d9f..a63985e10ad 100644 --- a/lib/librthread/arch/hppa/_atomic_lock.c +++ b/lib/librthread/arch/hppa/_atomic_lock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: _atomic_lock.c,v 1.4 2005/12/19 21:30:10 marco Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.5 2006/01/05 22:33:23 marc Exp $ */ /* * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> * @@ -15,7 +15,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <machine/spinlock.h> +#include <spinlock.h> int _atomic_lock(volatile _spinlock_lock_t *lock) diff --git a/lib/librthread/arch/i386/_atomic_lock.c b/lib/librthread/arch/i386/_atomic_lock.c index 7b9b46a73c7..d597f81f542 100644 --- a/lib/librthread/arch/i386/_atomic_lock.c +++ b/lib/librthread/arch/i386/_atomic_lock.c @@ -1,11 +1,11 @@ -/* $OpenBSD: _atomic_lock.c,v 1.1 2005/12/03 18:16:19 tedu Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.2 2006/01/05 22:33:23 marc Exp $ */ /* David Leonard, <d@csee.uq.edu.au>. Public domain. */ /* * Atomic lock for i386 */ -#include <machine/spinlock.h> +#include <spinlock.h> int _atomic_lock(register volatile _spinlock_lock_t *lock) diff --git a/lib/librthread/arch/m68k/_atomic_lock.c b/lib/librthread/arch/m68k/_atomic_lock.c index 30f079c6204..c9d34bd4630 100644 --- a/lib/librthread/arch/m68k/_atomic_lock.c +++ b/lib/librthread/arch/m68k/_atomic_lock.c @@ -1,9 +1,9 @@ -/* $OpenBSD: _atomic_lock.c,v 1.1 2005/12/23 18:50:23 miod Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.2 2006/01/05 22:33:24 marc Exp $ */ /* * Atomic lock for m68k */ -#include "spinlock.h" +#include <spinlock.h> int _atomic_lock(volatile _spinlock_lock_t *lock) diff --git a/lib/librthread/arch/m88k/_atomic_lock.c b/lib/librthread/arch/m88k/_atomic_lock.c index 47562038178..5f1820f0695 100644 --- a/lib/librthread/arch/m88k/_atomic_lock.c +++ b/lib/librthread/arch/m88k/_atomic_lock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: _atomic_lock.c,v 1.1 2005/12/23 20:08:27 miod Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.2 2006/01/05 22:33:24 marc Exp $ */ /* * Copyright (c) 2003, Miodrag Vallat. @@ -29,7 +29,7 @@ * Atomic lock for m88k */ -#include "spinlock.h" +#include <spinlock.h> int _atomic_lock(volatile _spinlock_lock_t *lock) diff --git a/lib/librthread/arch/mips64/_atomic_lock.c b/lib/librthread/arch/mips64/_atomic_lock.c index e1a760b6744..5524a3e0b44 100644 --- a/lib/librthread/arch/mips64/_atomic_lock.c +++ b/lib/librthread/arch/mips64/_atomic_lock.c @@ -1,9 +1,9 @@ -/* $OpenBSD: _atomic_lock.c,v 1.1 2005/12/24 12:01:26 miod Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.2 2006/01/05 22:33:24 marc Exp $ */ /* * Atomic lock for mips */ -#include <machine/spinlock.h> +#include <spinlock.h> int _atomic_lock(volatile _spinlock_lock_t *lock) 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) diff --git a/lib/librthread/arch/sparc/_atomic_lock.c b/lib/librthread/arch/sparc/_atomic_lock.c index c791314c8d1..f74daa509fb 100644 --- a/lib/librthread/arch/sparc/_atomic_lock.c +++ b/lib/librthread/arch/sparc/_atomic_lock.c @@ -1,9 +1,9 @@ -/* $OpenBSD: _atomic_lock.c,v 1.1 2005/12/25 16:00:02 miod Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.2 2006/01/05 22:33:24 marc Exp $ */ /* * Atomic lock for sparc */ -#include <machine/spinlock.h> +#include <spinlock.h> int _atomic_lock(volatile _spinlock_lock_t * lock) 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) diff --git a/lib/librthread/arch/vax/_atomic_lock.c b/lib/librthread/arch/vax/_atomic_lock.c index 8f0a0fd510b..ac8b8bf704a 100644 --- a/lib/librthread/arch/vax/_atomic_lock.c +++ b/lib/librthread/arch/vax/_atomic_lock.c @@ -1,11 +1,11 @@ -/* $OpenBSD: _atomic_lock.c,v 1.1 2005/12/23 19:52:04 miod Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.2 2006/01/05 22:33:24 marc Exp $ */ /* * Atomic lock for vax * Written by Miodrag Vallat <miod@openbsd.org> - placed in the public domain. */ -#include "spinlock.h" +#include <spinlock.h> int _atomic_lock(volatile _spinlock_lock_t *lock) |