diff --git a/components/libc/compilers/minilibc/time.h b/components/libc/compilers/minilibc/time.h index 2f8ad23c71..d64feba0b8 100644 --- a/components/libc/compilers/minilibc/time.h +++ b/components/libc/compilers/minilibc/time.h @@ -3,4 +3,14 @@ #include +time_t mktime(struct tm * const t); + +char *asctime(const struct tm *timeptr); +char *ctime(const time_t *timep); +struct tm* localtime(const time_t* t); + +char *asctime_r(const struct tm *t, char *buf); +struct tm *gmtime_r(const time_t *timep, struct tm *r); +struct tm* localtime_r(const time_t* t, struct tm* r); + #endif