summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/libc/compilers/common/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/common/time.c b/components/libc/compilers/common/time.c
index 5f4af8e572..72542867d2 100644
--- a/components/libc/compilers/common/time.c
+++ b/components/libc/compilers/common/time.c
@@ -270,7 +270,7 @@ char* asctime(const struct tm *timeptr)
}
RTM_EXPORT(asctime);
-char *ctime_r (const time_t * tim_p, char * result)
+char *ctime_r(const time_t * tim_p, char * result)
{
struct tm tm;
return asctime_r(localtime_r(tim_p, &tm), result);