From fc97cd23d80bf7d036b7d3afe359380b2b6aca23 Mon Sep 17 00:00:00 2001 From: armink Date: Fri, 16 Apr 2021 09:21:01 +0800 Subject: [PATCH] [libc/time] Revert the time.h --- components/libc/compilers/common/sys/time.h | 4 ---- 1 file changed, 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 /* posix clock and timer */ -- GitLab