summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/libc/compilers/minilibc/time.h10
1 files changed, 10 insertions, 0 deletions
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 <sys/time.h>
+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