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/interrupts/idt.c | 2 +- src/kernel/interrupts/irq.c | 4 ++-- src/kernel/interrupts/isr.c | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/kernel/interrupts') diff --git a/src/kernel/interrupts/idt.c b/src/kernel/interrupts/idt.c index a3827d7..635743d 100644 --- a/src/kernel/interrupts/idt.c +++ b/src/kernel/interrupts/idt.c @@ -1,4 +1,4 @@ -#include "../lib/lib.h" +#include struct idt_entry { unsigned short base_lo; diff --git a/src/kernel/interrupts/irq.c b/src/kernel/interrupts/irq.c index 110203c..39cfb23 100644 --- a/src/kernel/interrupts/irq.c +++ b/src/kernel/interrupts/irq.c @@ -1,5 +1,5 @@ -#include "../io/io.h" -#include "interrupts.h" +#include +#include extern void irq0(); diff --git a/src/kernel/interrupts/isr.c b/src/kernel/interrupts/isr.c index f6e94a5..59c6ad7 100644 --- a/src/kernel/interrupts/isr.c +++ b/src/kernel/interrupts/isr.c @@ -1,8 +1,8 @@ #include -#include "interrupts.h" -#include "../lib/lib.h" -#include "../system.h" -#include "../io/io.h" +#include +#include +#include +#include // Defined in isr.asm extern void isr0(); -- cgit v1.2.3