summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-06-04 04:27:57 +0000
committermiod <miod@openbsd.org>2013-06-04 04:27:57 +0000
commitad97619c0840a5e1ce8b91b9b46cbdf75a1964d3 (patch)
tree3981b1884d63ebc72d4b603bcf0d3f4112dd3a29
parentAdd tests for raw IP divert. Set effective user ID to 0 only during (diff)
downloadwireguard-openbsd-ad97619c0840a5e1ce8b91b9b46cbdf75a1964d3.tar.xz
wireguard-openbsd-ad97619c0840a5e1ce8b91b9b46cbdf75a1964d3.zip
Use a simpler typedef to avoid depending upon <sys/types.h>; repairs librthread
build.
-rw-r--r--sys/arch/sh/include/spinlock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sh/include/spinlock.h b/sys/arch/sh/include/spinlock.h
index f35a7effd9d..da4da4a299e 100644
--- a/sys/arch/sh/include/spinlock.h
+++ b/sys/arch/sh/include/spinlock.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: spinlock.h,v 1.4 2013/06/01 20:47:40 tedu Exp $ */
+/* $OpenBSD: spinlock.h,v 1.5 2013/06/04 04:27:57 miod Exp $ */
/* $NetBSD: lock.h,v 1.10 2006/01/03 01:29:46 uwe Exp $ */
/*-
@@ -37,7 +37,7 @@
#ifndef _SH_SPINLOCK_H_
#define _SH_SPINLOCK_H_
-typedef u_int8_t _atomic_lock_t;
+typedef unsigned char _atomic_lock_t;
#ifndef _KERNEL
int _atomic_lock(volatile _atomic_lock_t *);