X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=internals%2F_PDCLIB_locale.h;h=861b486c032969735f14276b1473ce36faaa3872;hb=cbd1457f23f192e20c9f770f36a0e95edf26475b;hp=fd47c9ab0c4b537835d374536d20d15e9b0a70e1;hpb=1328789865447c193c5b4c64a57b77b6917116ac;p=pdclib.old 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];