From f16ac2d87e07e4501adca963b01835ec15514f9a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 13 Apr 2005 01:28:43 +0000 Subject: [PATCH] Fix type of dummy_irq() --- src/core/nic.c | 2 +- src/include/nic.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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