Ver código fonte

Fix type of dummy_irq()

tags/v0.9.3
Michael Brown 19 anos atrás
pai
commit
f16ac2d87e
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1
    1
      src/core/nic.c
  2. 1
    1
      src/include/nic.h

+ 1
- 1
src/core/nic.c Ver arquivo

@@ -380,7 +380,7 @@ int dummy_connect ( struct nic *nic __unused ) {
380 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 384
 	return 1;
385 385
 }
386 386
 

+ 1
- 1
src/include/nic.h Ver arquivo

@@ -52,7 +52,7 @@ struct nic_operations {
52 52
 struct dev;
53 53
 extern struct nic * nic_device ( struct dev * dev );
54 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 58
  * Functions that implicitly operate on the current boot device

Carregando…
Cancelar
Salvar