From aabf7d45a479d00a165d98a3fd32a26890b4bfee Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" 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 c7fd1bba1a7f2..3a810edfb523b 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 19b9d21730d94..b5ab91dfb6a87 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.3