summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-02-11 02:46:23 +0800
committerMeco Man <[email protected]>2021-02-11 02:46:23 +0800
commite3fee1ca77104bbc6d8e5e964b5f44fca7456c49 (patch)
tree7a2fa1946b3104e6368fc4604e991e93e50132b3 /components/libc/compilers/common
parentd67d4d3fd0ae292677cee9cf9a4d2bb5b5eefb1a (diff)
2 spaces -> 4 spaces
Diffstat (limited to 'components/libc/compilers/common')
-rw-r--r--components/libc/compilers/common/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/compilers/common/time.c b/components/libc/compilers/common/time.c
index 366bc28bd1..e1c9340e69 100644
--- a/components/libc/compilers/common/time.c
+++ b/components/libc/compilers/common/time.c
@@ -155,8 +155,8 @@ char* asctime(const struct tm *timeptr)
char *ctime_r (const time_t * tim_p, char * result)
{
- struct tm tm;
- return asctime_r (localtime_r (tim_p, &tm), result);
+ struct tm tm;
+ return asctime_r (localtime_r (tim_p, &tm), result);
}
char* ctime(const time_t *tim_p)