summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/sys
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-02-05 20:44:25 +0800
committerGitHub <[email protected]>2021-02-05 20:44:25 +0800
commit852d7d7552bd3fe898115ea16ba401970b0d1fad (patch)
treef7c13c061ecaa47e70f0f856cc685bba25866429 /components/libc/compilers/common/sys
parent97cc8a8f72838deb0273a3e60ae29319edd7e4f7 (diff)
parent7fc236dddb14bcf5dba8e304efde9c3a518a117c (diff)
Merge pull request #15 from RT-Thread/master
pr
Diffstat (limited to 'components/libc/compilers/common/sys')
-rw-r--r--components/libc/compilers/common/sys/time.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/compilers/common/sys/time.h b/components/libc/compilers/common/sys/time.h
index 28a977c1f9..e99fd7d54f 100644
--- a/components/libc/compilers/common/sys/time.h
+++ b/components/libc/compilers/common/sys/time.h
@@ -48,8 +48,8 @@ struct timezone {
int tz_dsttime; /* type of dst correction */
};
-int gettimeofday(struct timeval *tp, void *ignore);
-struct tm *gmtime_r(const time_t *timep, struct tm *r);
+int gettimeofday(struct timeval *tp, struct timezone *tz);
+time_t timegm(struct tm * const t);
#ifdef __cplusplus
}