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 /* posix clock and timer */