summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdtime')
-rw-r--r--lib/libc/stdtime/timelocal.c6
-rw-r--r--lib/libc/stdtime/timelocal.h2
2 files changed, 3 insertions, 5 deletions
diff --git a/lib/libc/stdtime/timelocal.c b/lib/libc/stdtime/timelocal.c
index c7fd1bb..3a810ed 100644
--- a/lib/libc/stdtime/timelocal.c
+++ b/lib/libc/stdtime/timelocal.c
@@ -78,11 +78,9 @@ const struct lc_time_T _C_time_locale = {
/*
** c_fmt (ctime-compatible)
- ** Note that
- ** "%a %b %d %H:%M:%S %Y"
- ** is used by Solaris 2.3.
+ ** Not used, just compatibility placeholder.
*/
- "%a %Ef %X %Y",
+ NULL,
/* am */
"AM",
diff --git a/lib/libc/stdtime/timelocal.h b/lib/libc/stdtime/timelocal.h
index 19b9d21..b5ab91d 100644
--- a/lib/libc/stdtime/timelocal.h
+++ b/lib/libc/stdtime/timelocal.h
@@ -37,7 +37,7 @@ struct lc_time_T {
const char * weekday[7];
const char * X_fmt;
const char * x_fmt;
- const char * c_fmt;
+ const char * c_fmt; /* not used, just compatibility placeholder */
const char * am;
const char * pm;
const char * date_fmt;
OpenPOWER on IntegriCloud