summaryrefslogtreecommitdiff
path: root/components/libc/compilers/dlib/sys
diff options
context:
space:
mode:
authorzylx <[email protected]>2018-10-26 11:03:55 +0800
committerzylx <[email protected]>2018-10-26 11:17:41 +0800
commit3bf68f2f423c877e58d9f28e772c0fe484e025ea (patch)
treef2d3290b0a64b4a7daed174a1438dadc933990cf /components/libc/compilers/dlib/sys
parent86ad69032f7cfa0c9666a9b6ee35358c29362470 (diff)
[Libc][dlib][armlibc] add gmtime_r api
Diffstat (limited to 'components/libc/compilers/dlib/sys')
-rw-r--r--components/libc/compilers/dlib/sys/time.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/libc/compilers/dlib/sys/time.h b/components/libc/compilers/dlib/sys/time.h
index 766d219faf..baf566936b 100644
--- a/components/libc/compilers/dlib/sys/time.h
+++ b/components/libc/compilers/dlib/sys/time.h
@@ -52,6 +52,7 @@ struct timezone {
};
int gettimeofday(struct timeval *tp, void *ignore);
+struct tm *gmtime_r(const time_t *timep, struct tm *r);
#ifdef __cplusplus
}