Ver código fonte

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

dependency on dev.o.
tags/v0.9.3
Michael Brown 18 anos atrás
pai
commit
27ba2d7527
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      src/core/main.c

+ 2
- 1
src/core/main.c Ver arquivo

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

Carregando…
Cancelar
Salvar