diff --git a/src/core/nic.c b/src/core/nic.c index 8b9d64d1..dd02060f 100644 --- a/src/core/nic.c +++ b/src/core/nic.c @@ -380,7 +380,7 @@ int dummy_connect ( struct nic *nic __unused ) { return 1; } -int dummy_irq ( struct nic *nic __unused ) { +int dummy_irq ( struct nic *nic __unused, irq_action_t irq_action __unused ) { return 1; } diff --git a/src/include/nic.h b/src/include/nic.h index 439e5a90..02fcafc1 100644 --- a/src/include/nic.h +++ b/src/include/nic.h @@ -52,7 +52,7 @@ struct nic_operations { struct dev; extern struct nic * nic_device ( struct dev * dev ); extern int dummy_connect ( struct nic *nic ); -extern int dummy_irq ( struct nic *nic ); +extern void dummy_irq ( struct nic *nic, irq_action_t irq_action ); /* * Functions that implicitly operate on the current boot device