summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-12-08 11:40:37 +0000
committerdlg <dlg@openbsd.org>2015-12-08 11:40:37 +0000
commit5ec9823fe0bbaba9c2a2b7d15289df1297554af5 (patch)
tree0d7ed36abbe470468c2759b1b48914bdbfc94e25
parentvlan doenst have to handle SIOCGIFADDR cos the stack does it. (diff)
downloadwireguard-openbsd-5ec9823fe0bbaba9c2a2b7d15289df1297554af5.tar.xz
wireguard-openbsd-5ec9823fe0bbaba9c2a2b7d15289df1297554af5.zip
+TAILQ_HEAD(task_list, task);
-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)