浏览代码

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:

正在加载...
取消
保存