summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/sys/task.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/task.h b/sys/sys/task.h
index e37099e5639..dc52a9da005 100644
--- a/sys/sys/task.h
+++ b/sys/sys/task.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: task.h,v 1.8 2015/02/09 03:15:41 dlg Exp $ */
+/* $OpenBSD: task.h,v 1.9 2015/12/08 11:40:37 dlg Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
@@ -30,6 +30,8 @@ struct task {
unsigned int t_flags;
};
+TAILQ_HEAD(task_list, task);
+
#define TASKQ_MPSAFE (1 << 0)
#define TASKQ_CANTSLEEP (1 << 1)