瀏覽代碼

there is dummy time() function, but now it is implemented in
components/libc/compilers/minilibc/time.c.

maybe this dummy code is no longer required, so deleted.

SASANO Takayoshi 6 年之前
父節點
當前提交
c81ebdc6d9
共有 1 個文件被更改,包括 0 次插入8 次删除
  1. 0 8
      bsp/x86/drivers/board.c

+ 0 - 8
bsp/x86/drivers/board.c

@@ -71,12 +71,4 @@ void reboot(void)
 }
 FINSH_FUNCTION_EXPORT(reboot, reboot PC)
 #endif
-#ifdef RT_USING_DFS
-#include <time.h>
-time_t time(time_t* tm)
-{
-	(void)tm;
-	return 0;
-}
-#endif
 /*@}*/