summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_task.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2013-10-29 04:34:21 +0000
committerdlg <dlg@openbsd.org>2013-10-29 04:34:21 +0000
commit24334dba49aa5c71d4e3fd0366e1db654f8dccb3 (patch)
treee754dcdb93eb3192a08d2c276428ec027b403893 /sys/kern/kern_task.c
parentuse unsigned int instead of u_int to reduce the depend on types.h. (diff)
downloadwireguard-openbsd-24334dba49aa5c71d4e3fd0366e1db654f8dccb3.tar.xz
wireguard-openbsd-24334dba49aa5c71d4e3fd0366e1db654f8dccb3.zip
sys/task.h includes sys/queue.h, so kern/kern_task.c doesnt need
to do that again. kern/kern_task.c doesnt use pools so we dont need sys/pool.h either.
Diffstat (limited to 'sys/kern/kern_task.c')
-rw-r--r--sys/kern/kern_task.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_task.c b/sys/kern/kern_task.c
index 83c8b43643f..ea10643ec7c 100644
--- a/sys/kern/kern_task.c
+++ b/sys/kern/kern_task.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_task.c,v 1.2 2013/10/29 04:32:08 dlg Exp $ */
+/* $OpenBSD: kern_task.c,v 1.3 2013/10/29 04:34:21 dlg Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
@@ -19,8 +19,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/pool.h>
-#include <sys/queue.h>
#include <sys/mutex.h>
#include <sys/kthread.h>
#include <sys/task.h>