浏览代码

Fix type of dummy_irq()

tags/v0.9.3
Michael Brown 20 年前
父节点
当前提交
f16ac2d87e
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      src/core/nic.c
  2. 1
    1
      src/include/nic.h

+ 1
- 1
src/core/nic.c 查看文件

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 查看文件

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

正在加载...
取消
保存