From 25f1eb375f05883bd499760f4496f4218b5011c9 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 26 Oct 2019 22:45:08 +0200 Subject: Using compiler-based include methods --- src/kernel/lib/alloc.c | 4 ++-- src/kernel/lib/string.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/lib') diff --git a/src/kernel/lib/alloc.c b/src/kernel/lib/alloc.c index 2545d28..85ae7db 100644 --- a/src/kernel/lib/alloc.c +++ b/src/kernel/lib/alloc.c @@ -1,7 +1,7 @@ #include #include -#include "alloc.h" -#include "../paging/paging.h" +#include +#include int liballoc_lock() { asm volatile ("cli"); diff --git a/src/kernel/lib/string.c b/src/kernel/lib/string.c index 0ca04ee..c171439 100644 --- a/src/kernel/lib/string.c +++ b/src/kernel/lib/string.c @@ -1,5 +1,5 @@ #include -#include "../io/io.h" +#include size_t strlen(const char *str) { size_t len = 0; -- cgit v1.2.3