summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/init/main.c1
-rw-r--r--src/kernel/proc.c2
-rw-r--r--src/shared/magic.h3
3 files changed, 0 insertions, 6 deletions
diff --git a/src/init/main.c b/src/init/main.c
index 0e74e93..07a5f8f 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -1,5 +1,4 @@
#include <init/types.h>
-#include <shared/magic.h>
#include <shared/syscalls.h>
#include <stdint.h>
diff --git a/src/kernel/proc.c b/src/kernel/proc.c
index 022de79..f45ff2b 100644
--- a/src/kernel/proc.c
+++ b/src/kernel/proc.c
@@ -4,7 +4,6 @@
#include <kernel/proc.h>
#include <kernel/util.h>
#include <kernel/vfs/mount.h>
-#include <shared/magic.h>
#include <stdint.h>
struct process *process_first;
@@ -25,7 +24,6 @@ struct process *process_seed(void) {
for (int i = 0; i < FD_MAX; i++)
proc->fds[i].type = FD_EMPTY;
- proc->fds[FD_STDOUT].type = FD_SPECIAL_TTY;
// map the stack to the last page in memory
pagedir_map(proc->pages, ~PAGE_MASK, page_alloc(1), true, true);
diff --git a/src/shared/magic.h b/src/shared/magic.h
deleted file mode 100644
index cf126d7..0000000
--- a/src/shared/magic.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-#define FD_STDOUT 0