summaryrefslogtreecommitdiff
path: root/src/kernel/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/task.c')
-rw-r--r--src/kernel/task.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/task.c b/src/kernel/task.c
index 79b2f09..c8a8ac8 100644
--- a/src/kernel/task.c
+++ b/src/kernel/task.c
@@ -1,6 +1,7 @@
#include "panic.h"
#include "task.h"
#include "paging.h"
+#include "log.h"
struct tss {
struct tss *prev;
@@ -41,7 +42,7 @@ struct tss {
#define MAX_TASKS 64
-struct task_state tasks[MAX_TASKS];
+static struct task_state tasks[MAX_TASKS];
struct task_state *active_task;
void init_tasks() {