Selaa lähdekoodia

Take out unused cleanup() function so that we can remove the link

dependency on dev.o.
tags/v0.9.3
Michael Brown 18 vuotta sitten
vanhempi
commit
27ba2d7527
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2
    1
      src/core/main.c

+ 2
- 1
src/core/main.c Näytä tiedosto

@@ -345,16 +345,17 @@ static const struct proto protos[] = {
345 345
 };
346 346
 #endif
347 347
 
348
-
349 348
 /**************************************************************************
350 349
 CLEANUP - shut down networking and console so that the OS may be called 
351 350
 **************************************************************************/
351
+#if 0
352 352
 void cleanup(void)
353 353
 {
354 354
 	/* Stop receiving packets */
355 355
 	disable ( &dev );
356 356
 	initialized = 0;
357 357
 }
358
+#endif
358 359
 
359 360
 /*
360 361
  * Local variables:

Loading…
Peruuta
Tallenna