summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/wcsnrtombs.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/wcsnrtombs.c')
-rw-r--r--newlib/libc/stdlib/wcsnrtombs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/wcsnrtombs.c b/newlib/libc/stdlib/wcsnrtombs.c
index 8ad8bcd2c..8e5c38703 100644
--- a/newlib/libc/stdlib/wcsnrtombs.c
+++ b/newlib/libc/stdlib/wcsnrtombs.c
@@ -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];