summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/compilers/dlib/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/compilers/dlib/time.c b/components/libc/compilers/dlib/time.c
index bea01e90e5..12c7f893e9 100644
--- a/components/libc/compilers/dlib/time.c
+++ b/components/libc/compilers/dlib/time.c
@@ -42,9 +42,9 @@ int gettimeofday(struct timeval *tp, void *ignore)
*/
#pragma module_name = "?time"
#if _DLIB_TIME_ALLOW_64
-time_t __time64(time_t *t)
+__time64_t __time64(__time64_t *t)
#else
-time_t __time32(time_t *t)
+__time32_t __time32(__time32_t *t)
#endif
{
time_t time_now = 0;