summaryrefslogtreecommitdiff
path: root/include/typedefs.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-11-22 00:47:55 +0100
committerAnton Kling <anton@kling.gg>2023-11-22 00:47:55 +0100
commitf3c7d7fbdea1f2bac81909116ddb747a1f8abdf5 (patch)
tree62a1d998ce11bf4db4343f69dea4e8d231191e48 /include/typedefs.h
parent24f81104f5ff9cb4ab7db766c53f77fe0e5b86cc (diff)
Meta: Cleanup of header files such that they are partially shared
The /include directory contains definitons that both the kernel and libc need to be in sync.
Diffstat (limited to 'include/typedefs.h')
-rw-r--r--include/typedefs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/typedefs.h b/include/typedefs.h
new file mode 100644
index 0000000..e290716
--- /dev/null
+++ b/include/typedefs.h
@@ -0,0 +1,11 @@
+#include <stdint.h>
+
+typedef uint8_t u8;
+typedef uint16_t u16;
+typedef uint32_t u32;
+typedef uint64_t u64;
+
+typedef int8_t i8;
+typedef int16_t i16;
+typedef int32_t i32;
+typedef int64_t i64;