소스 검색

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

dependency on dev.o.
tags/v0.9.3
Michael Brown 18 년 전
부모
커밋
27ba2d7527
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      src/core/main.c

+ 2
- 1
src/core/main.c 파일 보기

@@ -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…
취소
저장