diff options
| author | Michael Brown | 2005-04-13 02:19:01 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-04-13 02:19:01 +0200 |
| commit | 6e8878c1faa052373ce4636c19cb8148b9fd8d67 (patch) | |
| tree | a033d5d74b827533f4df76752da00b000ed51327 /src/core | |
| parent | Use NIC's connect method. (diff) | |
| download | ipxe-6e8878c1faa052373ce4636c19cb8148b9fd8d67.tar.gz ipxe-6e8878c1faa052373ce4636c19cb8148b9fd8d67.tar.xz ipxe-6e8878c1faa052373ce4636c19cb8148b9fd8d67.zip | |
Avoid compiler warnings.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/nic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/nic.c b/src/core/nic.c index b8ce252b4..8b9d64d12 100644 --- a/src/core/nic.c +++ b/src/core/nic.c @@ -376,11 +376,11 @@ struct nic * nic_device ( struct dev *dev ) { -int dummy_connect ( struct nic *nic ) { +int dummy_connect ( struct nic *nic __unused ) { return 1; } -int dummy_irq ( struct nic *nic ) { +int dummy_irq ( struct nic *nic __unused ) { return 1; } |
