From 6e8878c1faa052373ce4636c19cb8148b9fd8d67 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 13 Apr 2005 00:19:01 +0000 Subject: [PATCH] Avoid compiler warnings. --- src/core/nic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/nic.c b/src/core/nic.c index b8ce252b..8b9d64d1 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; }