]> pd.if.org Git - pdclib.old/blobdiff - opt/basecodecs/_PDCLIB_utf8.c
Minimize the amount of internal definitions which get exposed via the user-visible...
[pdclib.old] / opt / basecodecs / _PDCLIB_utf8.c
index 8183aef254ecd69e2126b06ea9d1d7686f2b3863..65f76e01470ba3c337382e15c322e847531ffd6d 100644 (file)
@@ -9,6 +9,7 @@
 #include <stdint.h>
 #include <uchar.h>
 #include <assert.h>
+#include <_PDCLIB_encoding.h>
 
 /* Use of the mbstate:
  *
@@ -227,7 +228,7 @@ static bool c32toutf8(
     END_CONVERSION;
 }
 
-_PDCLIB_charcodec _PDCLIB_utf8_codec = {
+_PDCLIB_charcodec_t _PDCLIB_utf8_codec = {
     .__mbstoc32s = utf8toc32,
     .__c32stombs = c32toutf8,
 };