summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-12-08 11:44:13 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-12-08 11:44:13 +0000
commitba8ec4142de777227b1c78b861bffc2741190f86 (patch)
tree11cc1cdeafcc3fd9e2594e3aa8e0a52129be2050
parent053e1479ccdaad2fb7108ccee0837aac2df6da95 (diff)
use struct task_list instead of TAILQ_HEAD(, task)
-rw-r--r--sys/kern/kern_task.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_task.c b/sys/kern/kern_task.c
index 15ca0486ec0..6797cfd4e12 100644
--- a/sys/kern/kern_task.c
+++ b/sys/kern/kern_task.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_task.c,v 1.15 2015/11/19 13:19:24 dlg Exp $ */
+/* $OpenBSD: kern_task.c,v 1.16 2015/12/08 11:44:12 dlg Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
@@ -37,7 +37,7 @@ struct taskq {
const char *tq_name;
struct mutex tq_mtx;
- TAILQ_HEAD(, task) tq_worklist;
+ struct task_list tq_worklist;
};
struct taskq taskq_sys = {