Browse Source

Fix type of dummy_irq()

tags/v0.9.3
Michael Brown 20 years ago
parent
commit
f16ac2d87e
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/core/nic.c
  2. 1
    1
      src/include/nic.h

+ 1
- 1
src/core/nic.c View File

380
 	return 1;
380
 	return 1;
381
 }
381
 }
382
 
382
 
383
-int dummy_irq ( struct nic *nic __unused ) {
383
+int dummy_irq ( struct nic *nic __unused, irq_action_t irq_action __unused ) {
384
 	return 1;
384
 	return 1;
385
 }
385
 }
386
 
386
 

+ 1
- 1
src/include/nic.h View File

52
 struct dev;
52
 struct dev;
53
 extern struct nic * nic_device ( struct dev * dev );
53
 extern struct nic * nic_device ( struct dev * dev );
54
 extern int dummy_connect ( struct nic *nic );
54
 extern int dummy_connect ( struct nic *nic );
55
-extern int dummy_irq ( struct nic *nic );
55
+extern void dummy_irq ( struct nic *nic, irq_action_t irq_action );
56
 
56
 
57
 /*
57
 /*
58
  * Functions that implicitly operate on the current boot device
58
  * Functions that implicitly operate on the current boot device

Loading…
Cancel
Save