]> pd.if.org Git - pdclib.old/blobdiff - functions/locale/_PDCLIB_unicodedata.c
PDCLIB-25 #comment Make _PDCLIB_wcinfo + _PDCLIB_wcinfo_size const
[pdclib.old] / functions / locale / _PDCLIB_unicodedata.c
index dbfc02a8674bd687cbcf24b349b1fe8a906ebf70..dbbe8001c652d2aad95627ac03a06947b73be656 100644 (file)
@@ -13,7 +13,7 @@
  #ifndef REGTEST\r
  #include <_PDCLIB_locale.h>\r
 \r
- _PDCLIB_wcinfo_t _PDCLIB_wcinfo[] = {\r
+const _PDCLIB_wcinfo_t _PDCLIB_wcinfo[] = {\r
 //   { value,  flags,  lower,  upper   }, // name\r
      { 0x0,    0x4,    0x0,    0x0 }, // <control>\r
     { 0x1,     0x4,    0x1,    0x1 }, // <control>\r
 };\r
 \r
 \r
-size_t _PDCLIB_wcinfo_size = sizeof(_PDCLIB_wcinfo) / sizeof(_PDCLIB_wcinfo[0]);\r
+const size_t _PDCLIB_wcinfo_size = sizeof(_PDCLIB_wcinfo) / sizeof(_PDCLIB_wcinfo[0]);\r
 #endif\r
 \r
 #ifdef TEST\r