From e3317e5d6497b68d683e674e8952cd3d3af72457 Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Thu, 28 Nov 2019 23:35:25 -0800 Subject: [PATCH] include guards for interrupt structures --- interrupts.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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