Parcourir la source

Avoid compiler warnings.

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

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

@@ -376,11 +376,11 @@ struct nic * nic_device ( struct dev *dev ) {
376 376
 
377 377
 
378 378
 
379
-int dummy_connect ( struct nic *nic ) {
379
+int dummy_connect ( struct nic *nic __unused ) {
380 380
 	return 1;
381 381
 }
382 382
 
383
-int dummy_irq ( struct nic *nic ) {
383
+int dummy_irq ( struct nic *nic __unused ) {
384 384
 	return 1;
385 385
 }
386 386
 

Chargement…
Annuler
Enregistrer