Skip to content
Snippets Groups Projects
Commit b76fcdd8 authored by Florent Gluck's avatar Florent Gluck
Browse files

removed extern from idt.c

parent bc3c31b2
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ static idt_ptr_t idt_ptr;
// Loads the IDT specified in argument.
// Defined in idt_asm.s
extern void idt_load(idt_ptr_t *idt_ptr);
void idt_load(idt_ptr_t *idt_ptr);
// Builds and returns an IDT entry.
// selector is the code segment selector to access the ISR
......@@ -78,12 +78,12 @@ static idt_entry_t idt_build_entry(uint16_t selector, uint32_t offset, uint8_t t
// Low-level ISR for processor exceptions.
// These are defined in idt_asm.s
extern void _exception3();
extern void _exception8();
void _exception3();
void _exception8();
// Low-level ISR for hardware interrupts.
// These are defined in idt_asm.s
extern void _irq5();
void _irq5();
// High-level ISR for processor exceptions.
void exception_handler(regs_t *regs) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment