From: Michael Brown Date: Wed, 13 Apr 2005 01:28:43 +0000 (+0000) Subject: Fix type of dummy_irq() X-Git-Tag: v0.9.3~1991 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f16ac2d87e07e4501adca963b01835ec15514f9a;p=thirdparty%2Fipxe.git Fix type of dummy_irq() --- diff --git a/src/core/nic.c b/src/core/nic.c index 8b9d64d12..dd02060f5 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 439e5a90b..02fcafc1b 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