summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_rwlock.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2015-03-14 03:38:46 +0000
committerjsg <jsg@openbsd.org>2015-03-14 03:38:46 +0000
commit21dab745d772244ad59a415114e48be2888cfbc8 (patch)
tree0cf0a65bda8999c8207ac27cc59ed638fb036bb5 /sys/kern/kern_rwlock.c
parentMove the command line options (mainly -d and -v) out of struct bgpd_config (diff)
downloadwireguard-openbsd-21dab745d772244ad59a415114e48be2888cfbc8.tar.xz
wireguard-openbsd-21dab745d772244ad59a415114e48be2888cfbc8.zip
Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
Diffstat (limited to 'sys/kern/kern_rwlock.c')
-rw-r--r--sys/kern/kern_rwlock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_rwlock.c b/sys/kern/kern_rwlock.c
index 3ad22be632a..ab75143ddc0 100644
--- a/sys/kern/kern_rwlock.c
+++ b/sys/kern/kern_rwlock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_rwlock.c,v 1.25 2015/02/11 00:14:11 dlg Exp $ */
+/* $OpenBSD: kern_rwlock.c,v 1.26 2015/03/14 03:38:50 jsg Exp $ */
/*
* Copyright (c) 2002, 2003 Artur Grabowski <art@openbsd.org>
@@ -22,7 +22,6 @@
#include <sys/proc.h>
#include <sys/rwlock.h>
#include <sys/limits.h>
-#include <sys/atomic.h>
/* XXX - temporary measure until proc0 is properly aligned */
#define RW_PROC(p) (((long)p) & ~RWLOCK_MASK)