summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorarmink <[email protected]>2021-04-16 09:21:01 +0800
committerarmink <[email protected]>2021-04-16 09:21:01 +0800
commitfc97cd23d80bf7d036b7d3afe359380b2b6aca23 (patch)
tree7be5a5c72990295ccedaa86fa621f91d6cf570bf /components
parent2ea39b4f054239704f7e9176a09c6681d3d3975f (diff)
[libc/time] Revert the time.h
Diffstat (limited to 'components')
-rw-r--r--components/libc/compilers/common/sys/time.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/components/libc/compilers/common/sys/time.h b/components/libc/compilers/common/sys/time.h
index b3adaedfab..2a40b7b805 100644
--- a/components/libc/compilers/common/sys/time.h
+++ b/components/libc/compilers/common/sys/time.h
@@ -57,10 +57,6 @@ time_t timegm(struct tm * const t);
int gettimeofday(struct timeval *tv, struct timezone *tz);
int settimeofday(const struct timeval *tv, const struct timezone *tz);
-#if defined(__ARMCC_VERSION) || defined (__ICCARM__)
-struct tm *gmtime_r(const time_t *timep, struct tm *r);
-#endif
-
#ifdef RT_USING_POSIX
#include <sys/types.h>
/* posix clock and timer */