summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2020-10-09 08:16:28 +0000
committermpi <mpi@openbsd.org>2020-10-09 08:16:28 +0000
commit26d06e40657e2ac6a0ffb539360abda0461dca9d (patch)
treec0b2e4c0d7c4a8b5dc80b288382ac3c33fee609d
parentAdd nolog option to avoid syslog(3) (diff)
downloadwireguard-openbsd-26d06e40657e2ac6a0ffb539360abda0461dca9d.tar.xz
wireguard-openbsd-26d06e40657e2ac6a0ffb539360abda0461dca9d.zip
Remove unecesary includes.
ok deraadt@
-rw-r--r--sys/uvm/uvm_map.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/uvm/uvm_map.h b/sys/uvm/uvm_map.h
index 2703c66d538..7d187295274 100644
--- a/sys/uvm/uvm_map.h
+++ b/sys/uvm/uvm_map.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map.h,v 1.67 2019/12/18 13:33:29 visa Exp $ */
+/* $OpenBSD: uvm_map.h,v 1.68 2020/10/09 08:16:28 mpi Exp $ */
/* $NetBSD: uvm_map.h,v 1.24 2001/02/18 21:19:08 chs Exp $ */
/*
@@ -409,13 +409,6 @@ int uvm_map_fill_vmmap(struct vm_map *, struct kinfo_vmentry *,
*
*/
-/*
- * XXX: clean up later
- * Half the kernel seems to depend on them being included here.
- */
-#include <sys/time.h>
-#include <sys/systm.h> /* for panic() */
-
boolean_t vm_map_lock_try_ln(struct vm_map*, char*, int);
void vm_map_lock_ln(struct vm_map*, char*, int);
void vm_map_lock_read_ln(struct vm_map*, char*, int);