From 9b2e28ad7a752c0fe7b60e73ca43c827b45b3ee8 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 7 May 2020 22:19:13 +0200 Subject: Added and applied include-sorting Worked better than I thought! --- src/kernel/interrupts/interrupts.h | 2 +- src/kernel/interrupts/irq.c | 2 +- src/kernel/interrupts/isr.c | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/kernel/interrupts') diff --git a/src/kernel/interrupts/interrupts.h b/src/kernel/interrupts/interrupts.h index 50fd437..12f8f0a 100644 --- a/src/kernel/interrupts/interrupts.h +++ b/src/kernel/interrupts/interrupts.h @@ -1,8 +1,8 @@ #ifndef MELVIX_INTERRUPTS_H #define MELVIX_INTERRUPTS_H -#include #include +#include /** * Initialize the Interrupt Descriptor Table with 256 entries diff --git a/src/kernel/interrupts/irq.c b/src/kernel/interrupts/irq.c index 4c34d15..7c45718 100644 --- a/src/kernel/interrupts/irq.c +++ b/src/kernel/interrupts/irq.c @@ -1,5 +1,5 @@ -#include #include +#include #include extern void irq0(); diff --git a/src/kernel/interrupts/isr.c b/src/kernel/interrupts/isr.c index d5866f5..9222406 100644 --- a/src/kernel/interrupts/isr.c +++ b/src/kernel/interrupts/isr.c @@ -1,12 +1,12 @@ -#include +#include #include -#include -#include -#include +#include #include -#include +#include +#include +#include +#include #include -#include // Install ISRs in IDT void isrs_install() -- cgit v1.2.3