瀏覽代碼

Fix type of dummy_irq()

tags/v0.9.3
Michael Brown 19 年之前
父節點
當前提交
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,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 查看文件

@@ -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

Loading…
取消
儲存