libc: Implement local_t related functions

since local_t isn't really implemented on NuttX,
we can simply redirect to the non-locale version.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2021-07-28 22:44:44 +08:00
committed by Gustavo Henrique Nihei
parent decf7d0ad9
commit cdc781bdfd
7 changed files with 67 additions and 2 deletions
+3 -2
View File
@@ -91,9 +91,10 @@
#define TIME_UTC 1
/* Redirect the timelocal */
/* Redirect the timelocal and strftime_l */
#define timelocal mktime
#define timelocal mktime
#define strftime_l(s, m, f, t, l) strftime(s, m, f, t)
/********************************************************************************
* Public Types