Skip to content

Commit

Permalink
Fix pic8259_init() prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
phaubertin committed Jan 7, 2025
1 parent 047d463 commit 4abe18f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/kernel/infrastructure/i686/drivers/pic8259.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <kernel/infrastructure/i686/drivers/asm/pic8259.h>
#include <stdbool.h>

void pic8259_init();
void pic8259_init(void);

void pic8259_mask(int irq);

Expand Down
2 changes: 1 addition & 1 deletion kernel/infrastructure/i686/drivers/pic8259.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static uint8_t read_isr(pic8259_t *pic8259) {
return inb(pic8259->io_base + 0);
}

void pic8259_init() {
void pic8259_init(void) {
initialize(&main_pic8259);
initialize(&proxied_pic8259);
}
Expand Down

0 comments on commit 4abe18f

Please sign in to comment.