diff options
author | Yuri Pankov <yuripv@FreeBSD.org> | 2018-11-09 03:32:53 +0000 |
---|---|---|
committer | Yuri Pankov <yuripv@FreeBSD.org> | 2018-11-09 03:32:53 +0000 |
commit | 9eb7d595e1fdf04945fdaf3634cfd1354493ecf0 (patch) | |
tree | e1f1d436c5d9b7d4c1d882b3799d41eed011f67d /lib/libc/locale/cXXrtomb_iconv.h | |
parent | e1e300b67102a8e6b826200d7fc145ceacab6e93 (diff) | |
download | src-9eb7d595e1fdf04945fdaf3634cfd1354493ecf0.tar.gz src-9eb7d595e1fdf04945fdaf3634cfd1354493ecf0.zip |
Notes
Diffstat (limited to 'lib/libc/locale/cXXrtomb_iconv.h')
-rw-r--r-- | lib/libc/locale/cXXrtomb_iconv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/locale/cXXrtomb_iconv.h b/lib/libc/locale/cXXrtomb_iconv.h index d0dadac6c312..1f87e353e052 100644 --- a/lib/libc/locale/cXXrtomb_iconv.h +++ b/lib/libc/locale/cXXrtomb_iconv.h @@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$"); #include "../iconv/citrus_hash.h" #include "../iconv/citrus_module.h" #include "../iconv/citrus_iconv.h" -#include "xlocale_private.h" +#include "mblocal.h" typedef struct { bool initialized; @@ -65,7 +65,7 @@ cXXrtomb_l(char * __restrict s, charXX_t c, mbstate_t * __restrict ps, FIX_LOCALE(locale); if (ps == NULL) - ps = &locale->cXXrtomb; + ps = &(XLOCALE_CTYPE(locale)->cXXrtomb); cs = (_ConversionState *)ps; handle = &cs->iconv; |