summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-05-10 16:08:39 +0800
committerGitHub <[email protected]>2018-05-10 16:08:39 +0800
commitc13624298619508a2c8d10ce66f80564213c4fba (patch)
treef73811e35be204971ead35da329790e0cc138b7b /components
parent9e677edc3961fc1d0b6025396c95a56591405f5e (diff)
parent586685875b1aeb59e2011b55c742f8e43fffe155 (diff)
Merge pull request #1420 from armink/fix_libc
[libc/armlibc] Remove time() on stubs.c.
Diffstat (limited to 'components')
-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