Browse Source

[libc/time] Revert the time.h

armink 4 years ago
parent
commit
fc97cd23d8
1 changed files with 0 additions and 4 deletions
  1. 0 4
      components/libc/compilers/common/sys/time.h

+ 0 - 4
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 gettimeofday(struct timeval *tv, struct timezone *tz);
 int settimeofday(const struct timeval *tv, const 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
 #ifdef RT_USING_POSIX
 #include <sys/types.h>
 #include <sys/types.h>
 /* posix clock and timer */
 /* posix clock and timer */