summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
authorarmink <[email protected]>2018-05-10 11:30:36 +0800
committerarmink <[email protected]>2018-05-10 11:30:36 +0800
commit586685875b1aeb59e2011b55c742f8e43fffe155 (patch)
treebe03326a2541a7df0f569c1ae4693ed5317f155c /components/libc
parent3b8e3aa7e4471288ba9744b496061ef82ca060ef (diff)
[libc/armlibc] Remove time() on stubs.c.
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/compilers/armlibc/stubs.c9
1 files changed, 0 insertions, 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