Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-02-18 20:35:15 +0300
committerCorinna Vinschen <corinna@vinschen.de>2010-02-18 20:35:15 +0300
commitf723b60cf21ca708fcdcf1c278f8156a8277782f (patch)
tree678cfe3c524e62efacef12ed514cafd2ff929171 /newlib/libc/locale/timelocal.h
parent90f5de33d5441eaf63bc779a5ee4ab836d6f8e02 (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.h5
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);