X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=internals%2F_PDCLIB_locale.h;h=4595e9b82d5ec074ab1be679a30955c36f9ff28e;hb=9feedd59d824b75950b8d15be6a2a34534c2a6d9;hp=9644eb4b19c3b836b43505d2358f999093eb3799;hpb=072f30583aa781ac40faeff08500f0dadf7cf1de;p=pdclib diff --git a/internals/_PDCLIB_locale.h b/internals/_PDCLIB_locale.h index 9644eb4..4595e9b 100644 --- a/internals/_PDCLIB_locale.h +++ b/internals/_PDCLIB_locale.h @@ -82,8 +82,8 @@ typedef struct _PDCLIB_wcinfo } _PDCLIB_wcinfo_t; struct _PDCLIB_locale { - const _PDCLIB_charcodec_t _Codec; - struct lconv _Conv; + const struct _PDCLIB_charcodec_t * _Codec; + struct lconv _Conv; /* ctype / wctype */ /* XXX: Maybe re-evaluate constness of these later on? */ @@ -92,7 +92,7 @@ struct _PDCLIB_locale { const _PDCLIB_ctype_t *_CType; /* perror/strerror */ - char *_ErrnoStr[_PDCLIB_ERRNO_MAX]; + const char * const _ErrnoStr[_PDCLIB_ERRNO_MAX]; }; extern const _PDCLIB_wcinfo_t _PDCLIB_wcinfo[];