X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=internals%2F_PDCLIB_locale.h;fp=internals%2F_PDCLIB_locale.h;h=861b486c032969735f14276b1473ce36faaa3872;hp=fd47c9ab0c4b537835d374536d20d15e9b0a70e1;hb=4b1f856ea2b21f30b6af8d4cca7129ebc84d3d6f;hpb=0711226145f12c37217681b57944860bdeb6ace0 diff --git a/internals/_PDCLIB_locale.h b/internals/_PDCLIB_locale.h index fd47c9a..861b486 100644 --- a/internals/_PDCLIB_locale.h +++ b/internals/_PDCLIB_locale.h @@ -80,13 +80,14 @@ typedef struct _PDCLIB_wcinfo } _PDCLIB_wcinfo_t; struct _PDCLIB_locale { - _PDCLIB_charcodec_t _Codec; + const _PDCLIB_charcodec_t _Codec; struct lconv _Conv; /* ctype / wctype */ - _PDCLIB_wcinfo_t *_WCType; + /* XXX: Maybe re-evaluate constness of these later on? */ + const _PDCLIB_wcinfo_t *_WCType; _PDCLIB_size_t _WCTypeSize; - _PDCLIB_ctype_t *_CType; + const _PDCLIB_ctype_t *_CType; /* perror/strerror */ char *_ErrnoStr[_PDCLIB_ERRNO_MAX];