summaryrefslogtreecommitdiff
path: root/kern/thread.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-02-04 16:21:10 +0100
committerRichard Braun <rbraun@sceen.net>2017-02-04 16:21:10 +0100
commit7a00044da882d30b1dea8757c7f6a1ccaa9ee08d (patch)
tree9e342eca8a673ac9b0982c3e4bda22ff5158690e /kern/thread.h
parentd09b913612712c7d58e5ee3ee20703cce63ad0b0 (diff)
kern/types: split into module-specific type headers
Using a single header for all types causing inclusion circular dependencies isn't very elegant and doesn't scale.
Diffstat (limited to 'kern/thread.h')
-rw-r--r--kern/thread.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/kern/thread.h b/kern/thread.h
index 14fd8669..074963de 100644
--- a/kern/thread.h
+++ b/kern/thread.h
@@ -36,10 +36,14 @@
#include <kern/assert.h>
#include <kern/cpumap.h>
#include <kern/macros.h>
-#include <kern/types.h>
#include <machine/tcb.h>
/*
+ * Forward declaration
+ */
+struct spinlock;
+
+/*
* Thread structure.
*/
struct thread;