修复RTC驱动以及libc time.c库若干问题

This commit is contained in:
Meco Man
2021-02-05 13:13:22 +08:00
parent 97cc8a8f72
commit c2fca3dffe
4 changed files with 167 additions and 144 deletions

View File

@@ -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
}