summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/time.c
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-03-05 23:13:57 +0800
committerMeco Man <[email protected]>2021-03-05 23:13:57 +0800
commitff9210a84d39be7a6860d3fbf89a0a8837a9aba0 (patch)
treefb4cffd4cdf1394db19807e5eb53a8bc75b1b60f /components/libc/compilers/common/time.c
parent32533127584b6bf98754591a168b5f2962d02ee1 (diff)
revise comment
Diffstat (limited to 'components/libc/compilers/common/time.c')
-rw-r--r--components/libc/compilers/common/time.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/libc/compilers/common/time.c b/components/libc/compilers/common/time.c
index cc135bcfc9..ed72cc1f3f 100644
--- a/components/libc/compilers/common/time.c
+++ b/components/libc/compilers/common/time.c
@@ -365,8 +365,9 @@ int settimeofday(const struct timeval *tv, const struct timezone *tz)
}
RTM_EXPORT(settimeofday);
-RTM_EXPORT(difftime); /* inherent in libc */
-RTM_EXPORT(strftime); /* inherent in libc*/
+/* inherent in the toolchain */
+RTM_EXPORT(difftime);
+RTM_EXPORT(strftime);
#ifdef RT_USING_POSIX
static struct timeval _timevalue;