diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-08-29 06:50:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-08-29 06:50:10 +0000 |
commit | 01beb5b9ff8fb38f6517837b42eea8f5ff7060d9 (patch) | |
tree | 5c1b871d23c7d13cf5f6cdcbccb13c1ca281e09c /include | |
parent | 653e58951271cf55a3b2d778ea02107b9ea44d78 (diff) | |
download | glibc-01beb5b9ff8fb38f6517837b42eea8f5ff7060d9.tar.gz glibc-01beb5b9ff8fb38f6517837b42eea8f5ff7060d9.tar.xz glibc-01beb5b9ff8fb38f6517837b42eea8f5ff7060d9.zip |
Update.
2002-08-28 Ulrich Drepper <drepper@redhat.com> * include/wchar.h: Declare __mbsrtowcs_l. * wcsmbs/Makefile (routines): Add mbsrtowcs_l. * wcsmbs/mbsrtowcs.c: Add support for compilation with USE_IN_EXTENDED_LOCALE_MODEL. * wcsmbs/mbsrtowcs_l: New file. * wcsmbs/wcsmbsload.c (__wcsmbs_to_wc): Renamed from to_wc. Don't define as static. Change all uses. (__wcsmbs_getfct): Renamed from getfct. Don't define as static. Change all callers. * wcsmbs/wcsmbsload.h: Declare __wcsmbs_to_wc and __wcsmbs_getfct. * time/strftime.c: When translating for the extended locale model use the _l functions. * time/Makefile (tests): Add tst-ftime_l. * time/tst-ftime_l.c: New file.
Diffstat (limited to 'include')
-rw-r--r-- | include/wchar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h index 32afcbb6bb..e390f8104f 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -108,5 +108,9 @@ extern int __vfwprintf (__FILE *__restrict __s, __gnuc_va_list __arg) /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */; + +/* Internal functions. */ +extern size_t __mbsrtowcs_l (wchar_t *dst, const char **src, size_t len, + mbstate_t *ps, __locale_t l) attribute_hidden; # endif #endif |