summaryrefslogtreecommitdiff
path: root/locale/localeinfo.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-10 02:09:02 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-10 02:09:02 +0000
commit2b15132f986df6e8dcc2355f6e3e618550d1922b (patch)
tree353dc8f7cb396266db622345f1e02ec19764f612 /locale/localeinfo.h
parent5b643faffc5f43402854fdfc2bdd807ce719bbfb (diff)
Update.
* locale/lc-time.c (_nl_parse_alt_digit): New function. * locale/localeinfo.h: Add prototype for it. * time/strptime.c (get_alt_number): Use _nl_parse_alt_digit to get the value. Correct computation of hour for %OI. If no %EC given but %Ey use numeric formular.
Diffstat (limited to 'locale/localeinfo.h')
-rw-r--r--locale/localeinfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index 24ddabed71..e7528e9edb 100644
--- a/locale/localeinfo.h
+++ b/locale/localeinfo.h
@@ -205,6 +205,9 @@ extern const char *_nl_get_alt_digit (unsigned int number);
/* Similar, but now for wide characters. */
extern const wchar_t *_nl_get_walt_digit (unsigned int number);
+/* Parse string as alternative digit and return numeric value. */
+extern int _nl_parse_alt_digit (const char **strp);
+
/* Postload processing. */
extern void _nl_postload_ctype (void);
extern void _nl_postload_time (void);