]> pd.if.org Git - pdclib/blobdiff - platform/posix/functions/_PDCLIB/_PDCLIB_stdinit.c
Pointer typedef resulted in non-const structure where const was intended.
[pdclib] / platform / posix / functions / _PDCLIB / _PDCLIB_stdinit.c
index 18fcc22efd0dbf7d2f457932eaa23dbc17ad430e..defb303e8f7bf1e0eafdb34a4ff079ac01ce2949 100644 (file)
@@ -346,7 +346,7 @@ static const _PDCLIB_ctype_t global_ctype[] = {
     { 0x00, 0xFF, 0xFF, 0xFF }
 };
 
-extern const struct _PDCLIB_charcodec _PDCLIB_ascii_codec;
+extern const struct _PDCLIB_charcodec_t _PDCLIB_ascii_codec;
 struct _PDCLIB_locale _PDCLIB_global_locale = {
     ._Codec = &_PDCLIB_ascii_codec,
     ._Conv  = {