summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_timeout.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2020-02-18 12:13:39 +0000
committermpi <mpi@openbsd.org>2020-02-18 12:13:39 +0000
commit63cf9471a61d4f7a002fa265fd31e4f833fe840f (patch)
tree9f62d5dcd24d058a22ed868e12b20db039a5fd2a /sys/kern/kern_timeout.c
parenthave description of -Q match reality (diff)
downloadwireguard-openbsd-63cf9471a61d4f7a002fa265fd31e4f833fe840f.tar.xz
wireguard-openbsd-63cf9471a61d4f7a002fa265fd31e4f833fe840f.zip
Cleanup <sys/kthread.h> and <sys/proc.h> includes.
Do not include <sys/kthread.h> where it is not needed and stop including <sys/proc.h> in it. ok visa@, anton@
Diffstat (limited to 'sys/kern/kern_timeout.c')
-rw-r--r--sys/kern/kern_timeout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c
index 39523479ce5..eab14f2da7b 100644
--- a/sys/kern/kern_timeout.c
+++ b/sys/kern/kern_timeout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_timeout.c,v 1.71 2020/01/13 09:51:52 mpi Exp $ */
+/* $OpenBSD: kern_timeout.c,v 1.72 2020/02/18 12:13:40 mpi Exp $ */
/*
* Copyright (c) 2001 Thomas Nordin <nordin@openbsd.org>
* Copyright (c) 2000-2001 Artur Grabowski <art@openbsd.org>
@@ -28,6 +28,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kthread.h>
+#include <sys/proc.h>
#include <sys/timeout.h>
#include <sys/mutex.h>
#include <sys/kernel.h>