mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-20 16:01:10 +08:00
Don't use locale_t in internal header
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
a867598373
commit
7964ad15c1
@ -203,7 +203,7 @@ extern const char *__get_locale_env(struct _reent *, int);
|
||||
extern struct lconv *__localeconv_l (struct __locale_t *locale);
|
||||
|
||||
extern size_t _wcsnrtombs_l (struct _reent *, char *, const wchar_t **,
|
||||
size_t, size_t, mbstate_t *, locale_t);
|
||||
size_t, size_t, mbstate_t *, struct __locale_t *);
|
||||
|
||||
/* In POSIX terms the global locale is the process-wide locale. Use this
|
||||
function to always refer to the global locale. */
|
||||
|
@ -107,7 +107,7 @@ PORTABILITY
|
||||
|
||||
size_t
|
||||
_wcsnrtombs_l (struct _reent *r, char *dst, const wchar_t **src, size_t nwc,
|
||||
size_t len, mbstate_t *ps, locale_t loc)
|
||||
size_t len, mbstate_t *ps, struct __locale_t *loc)
|
||||
{
|
||||
char *ptr = dst;
|
||||
char buff[10];
|
||||
|
Loading…
x
Reference in New Issue
Block a user