Browse Source

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 years ago
parent
commit
c81ebdc6d9
1 changed files with 0 additions and 8 deletions
  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
 /*@}*/