diff options
| author | Meco Man <[email protected]> | 2021-02-05 13:13:22 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-02-05 13:13:22 +0800 |
| commit | c2fca3dffedfa15044bb70f8a997ea1c3920ebe3 (patch) | |
| tree | 9258f8f7c61378a363a0f9e6fecdb1008e4a4c6e /components/libc/compilers/common/sys | |
| parent | 97cc8a8f72838deb0273a3e60ae29319edd7e4f7 (diff) | |
修复RTC驱动以及libc time.c库若干问题
Diffstat (limited to 'components/libc/compilers/common/sys')
| -rw-r--r-- | components/libc/compilers/common/sys/time.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/compilers/common/sys/time.h b/components/libc/compilers/common/sys/time.h index 28a977c1f9..e99fd7d54f 100644 --- a/components/libc/compilers/common/sys/time.h +++ b/components/libc/compilers/common/sys/time.h @@ -48,8 +48,8 @@ struct timezone { int tz_dsttime; /* type of dst correction */ }; -int gettimeofday(struct timeval *tp, void *ignore); -struct tm *gmtime_r(const time_t *timep, struct tm *r); +int gettimeofday(struct timeval *tp, struct timezone *tz); +time_t timegm(struct tm * const t); #ifdef __cplusplus } |
