From 586685875b1aeb59e2011b55c742f8e43fffe155 Mon Sep 17 00:00:00 2001 From: armink Date: Thu, 10 May 2018 11:30:36 +0800 Subject: [PATCH] [libc/armlibc] Remove time() on stubs.c. --- components/libc/compilers/armlibc/stubs.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/libc/compilers/armlibc/stubs.c b/components/libc/compilers/armlibc/stubs.c index 5ec25ed8b3..74ca5fd1f6 100644 --- a/components/libc/compilers/armlibc/stubs.c +++ b/components/libc/compilers/armlibc/stubs.c @@ -327,12 +327,3 @@ int fgetc(FILE *f) return -1; } #endif - -#ifndef RT_USING_RTC -time_t time(time_t *t) -{ - time_t time_now = 0; - - return time_now; -} -#endif -- GitLab