X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fwin32%2Ffunctions%2F_PDCLIB%2F_PDCLIB_stdinit.c;fp=platform%2Fwin32%2Ffunctions%2F_PDCLIB%2F_PDCLIB_stdinit.c;h=b9c9109afe5fa131b0ba50e23faea4e542adb1dd;hb=cbd1457f23f192e20c9f770f36a0e95edf26475b;hp=2d44fc3763357a451474b523169df2628f82a153;hpb=1328789865447c193c5b4c64a57b77b6917116ac;p=pdclib.old diff --git a/platform/win32/functions/_PDCLIB/_PDCLIB_stdinit.c b/platform/win32/functions/_PDCLIB/_PDCLIB_stdinit.c index 2d44fc3..b9c9109 100644 --- a/platform/win32/functions/_PDCLIB/_PDCLIB_stdinit.c +++ b/platform/win32/functions/_PDCLIB/_PDCLIB_stdinit.c @@ -85,8 +85,7 @@ tss_t _PDCLIB_locale_tss; 1 kByte (+ 4 byte) of data. Each line: flags, lowercase, uppercase, collation. */ -static -_PDCLIB_ctype_t global_ctype[] = { +static const _PDCLIB_ctype_t global_ctype[] = { { /* EOF */ 0, 0, 0, 0 }, { /* NUL */ _PDCLIB_CTYPE_CNTRL, 0x00, 0x00, 0x00 }, { /* SOH */ _PDCLIB_CTYPE_CNTRL, 0x01, 0x01, 0x01 }, @@ -346,7 +345,7 @@ _PDCLIB_ctype_t global_ctype[] = { { 0x00, 0xFF, 0xFF, 0xFF } }; -extern struct _PDCLIB_charcodec _PDCLIB_ascii_codec; +extern const struct _PDCLIB_charcodec _PDCLIB_ascii_codec; struct _PDCLIB_locale _PDCLIB_global_locale = { ._Codec = &_PDCLIB_ascii_codec, ._Conv = {