summaryrefslogtreecommitdiff
path: root/src/init
diff options
context:
space:
mode:
authordzwdz2021-09-18 09:37:53 +0200
committerdzwdz2021-09-18 09:37:53 +0200
commit8e757fae5aaece57755a98544f193bc2672966b3 (patch)
tree37ac93907323941a3bb3de2edb2fc08ca821360e /src/init
parent7a44fc5381dabb65dfdb667dc442108d0465799a (diff)
merge `kernel/types.h` and `init/types.h`
Diffstat (limited to 'src/init')
-rw-r--r--src/init/main.c1
-rw-r--r--src/init/syscalls.c1
-rw-r--r--src/init/tar.c1
-rw-r--r--src/init/types.h5
4 files changed, 0 insertions, 8 deletions
diff --git a/src/init/main.c b/src/init/main.c
index 683d0ca..aef6410 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -1,5 +1,4 @@
#include <init/tar.h>
-#include <init/types.h>
#include <shared/flags.h>
#include <shared/syscalls.h>
#include <stdint.h>
diff --git a/src/init/syscalls.c b/src/init/syscalls.c
index 6e00895..549ff61 100644
--- a/src/init/syscalls.c
+++ b/src/init/syscalls.c
@@ -1,5 +1,4 @@
// this file could probably just get generated by a script
-#include <init/types.h>
#include <shared/syscalls.h>
_Noreturn void _syscall_exit(const char __user *msg, size_t len) {
diff --git a/src/init/tar.c b/src/init/tar.c
index 22e4785..24adfce 100644
--- a/src/init/tar.c
+++ b/src/init/tar.c
@@ -1,4 +1,3 @@
-#include <init/types.h>
#include <shared/syscalls.h>
#include <stdint.h>
diff --git a/src/init/types.h b/src/init/types.h
deleted file mode 100644
index 9c6d64b..0000000
--- a/src/init/types.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#pragma once
-
-#define TYPES_INCLUDED
-
-#define __user