summaryrefslogtreecommitdiff
path: root/kern/condition.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/condition.h')
-rw-r--r--kern/condition.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kern/condition.h b/kern/condition.h
index a61c2a9d..55d37bf2 100644
--- a/kern/condition.h
+++ b/kern/condition.h
@@ -27,6 +27,11 @@
#include <kern/list.h>
#include <kern/spinlock.h>
+/*
+ * Condition variable.
+ */
+struct condition;
+
static inline void
condition_init(struct condition *condition)
{