Parcourir la source

Fix type of dummy_irq()

tags/v0.9.3
Michael Brown il y a 21 ans
Parent
révision
f16ac2d87e
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1
    1
      src/core/nic.c
  2. 1
    1
      src/include/nic.h

+ 1
- 1
src/core/nic.c Voir le fichier

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 Voir le fichier

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

Chargement…
Annuler
Enregistrer