]> pd.if.org Git - pdclib/blobdiff - opt/basecodecs/_PDCLIB_utf8.c
PDCLIB-25 #resolve #comment Made ctype, wctype and codec data const.(This may be...
[pdclib] / opt / basecodecs / _PDCLIB_utf8.c
index a93454194fb04ea3a845168351a0ee86df2a46e8..22fa808c963fa33b4a1bfbd71565bfc141c5bc84 100644 (file)
@@ -232,7 +232,7 @@ static bool c32toutf8(
     END_CONVERSION;
 }
 
-struct _PDCLIB_charcodec _PDCLIB_utf8_codec = {
+const struct _PDCLIB_charcodec _PDCLIB_utf8_codec = {
     .__mbsinit   = utf8_mbsinit,
     .__mbstoc32s = utf8toc32,
     .__c32stombs = c32toutf8,