diff --git a/interrupts.h b/interrupts.h index be9d449..2d4b079 100644 --- a/interrupts.h +++ b/interrupts.h @@ -1,3 +1,5 @@ +#ifndef INTERRUPTS_H +#define INTERRUPTS_H #include "types.h" // There are more interrupts but tbh i doubt we're going to need them @@ -49,4 +51,5 @@ void interrupt_handler(struct cpu_reg_state*); // IRQ specifi functions void init_irq_handler(u32 irq, void (*handler)(struct cpu_reg_state* cpu)); -void irq_handler(struct cpu_reg_state* cpu); \ No newline at end of file +void irq_handler(struct cpu_reg_state* cpu); +#endif