summaryrefslogtreecommitdiff
path: root/lib/librthread/arch/m88k
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2006-01-05 22:33:25 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2006-01-05 22:33:25 +0000
commit49d294f1487f1bbb4f1d5492e16bcf936540fbb7 (patch)
treeed83763afadd9a11fb04bca564501e6c633285e1 /lib/librthread/arch/m88k
parentbc30f8b96f415f61eb8fc60add0e510e9416991c (diff)
Use the system include <spinlock.h> to get the proper function
prototype for _atomic_lock
Diffstat (limited to 'lib/librthread/arch/m88k')
-rw-r--r--lib/librthread/arch/m88k/_atomic_lock.c4
1 files changed, 2 insertions, 2 deletions
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)