diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-02-18 20:35:15 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-02-18 20:35:15 +0300 |
commit | f723b60cf21ca708fcdcf1c278f8156a8277782f (patch) | |
tree | 678cfe3c524e62efacef12ed514cafd2ff929171 /newlib/libc/locale/timelocal.h | |
parent | 90f5de33d5441eaf63bc779a5ee4ab836d6f8e02 (diff) |
* libc/locale/timelocal.h (struct lc_time_T): Add missing ERA-related
members.
* libc/locale/timelocal.c (_C_time_local): Set new members to empty
strings.
* libc/locale/nl_langinfo.c (nl_langinfo): Return values from
__get_current_time_locale() for ERA related requests.
Diffstat (limited to 'newlib/libc/locale/timelocal.h')
-rw-r--r-- | newlib/libc/locale/timelocal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/locale/timelocal.h b/newlib/libc/locale/timelocal.h index e232a7304..80f72b66e 100644 --- a/newlib/libc/locale/timelocal.h +++ b/newlib/libc/locale/timelocal.h @@ -50,6 +50,11 @@ struct lc_time_T { const char *alt_month[12]; const char *md_order; const char *ampm_fmt; + const char *era; + const char *era_d_fmt; + const char *era_d_t_fmt; + const char *era_t_fmt; + const char *alt_digits; }; struct lc_time_T *__get_current_time_locale(void); |