From c81ebdc6d9aff6bf21b7ce21c990d9ffc42c0902 Mon Sep 17 00:00:00 2001 From: SASANO Takayoshi Date: Sun, 7 Oct 2018 05:56:27 +0900 Subject: 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. --- bsp/x86/drivers/board.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'bsp') diff --git a/bsp/x86/drivers/board.c b/bsp/x86/drivers/board.c index 4d91604ab3..211ae1832a 100644 --- a/bsp/x86/drivers/board.c +++ b/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_t time(time_t* tm) -{ - (void)tm; - return 0; -} -#endif /*@}*/ -- cgit v1.3.1