From f3a75b8edad7e1c8470fb3ae684a86260b32c2b3 Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 26 Oct 2000 16:20:57 +0000 Subject: Treat c_fmt field as compatibility placeholder --- lib/libc/stdtime/timelocal.c | 6 ++---- lib/libc/stdtime/timelocal.h | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'lib/libc') 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; -- cgit v1.1