summaryrefslogtreecommitdiff
path: root/components/libc/compilers/dlib
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-10-27 14:28:40 +0800
committerGitHub <[email protected]>2018-10-27 14:28:40 +0800
commit125195c870f71b8e5c8841be25a0675a863dee62 (patch)
tree0974f564d83af3a80fc1a0a58a0ec25b80463c3d /components/libc/compilers/dlib
parent5d9a27d16dc240c7f3e4a4f4a45d28bc8a538558 (diff)
parent920d6ecec72582263064163da16dbcdae84b325b (diff)
Merge pull request #1925 from qgyhd1234/gmtime_r
[kernel][kservice] add rt_gmtime_r api
Diffstat (limited to 'components/libc/compilers/dlib')
-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
}