https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6cbd6bd3ce7c8c873ef71a...
commit 6cbd6bd3ce7c8c873ef71a3238889291f668aed5 Author: Amine Khaldi amine.khaldi@reactos.org AuthorDate: Wed Apr 11 12:25:43 2018 +0100 Commit: Amine Khaldi amine.khaldi@reactos.org CommitDate: Wed Apr 11 12:25:43 2018 +0100
[UNICODE] Sync with Wine Staging 3.3. CORE-14434 --- media/doc/README.WINE | 2 +- sdk/tools/unicode/CMakeLists.txt | 3 +++ sdk/tools/unicode/c_037.c | 2 +- sdk/tools/unicode/c_10000.c | 2 +- sdk/tools/unicode/c_10001.c | 2 +- sdk/tools/unicode/c_10002.c | 2 +- sdk/tools/unicode/c_10003.c | 2 +- sdk/tools/unicode/c_10004.c | 2 +- sdk/tools/unicode/c_10005.c | 2 +- sdk/tools/unicode/c_10006.c | 2 +- sdk/tools/unicode/c_10007.c | 2 +- sdk/tools/unicode/c_10008.c | 2 +- sdk/tools/unicode/c_10010.c | 2 +- sdk/tools/unicode/c_10017.c | 2 +- sdk/tools/unicode/c_10021.c | 2 +- sdk/tools/unicode/c_10029.c | 2 +- sdk/tools/unicode/c_1006.c | 2 +- sdk/tools/unicode/c_10079.c | 2 +- sdk/tools/unicode/c_10081.c | 2 +- sdk/tools/unicode/c_10082.c | 2 +- sdk/tools/unicode/c_1026.c | 2 +- sdk/tools/unicode/c_1250.c | 2 +- sdk/tools/unicode/c_1251.c | 2 +- sdk/tools/unicode/c_1252.c | 2 +- sdk/tools/unicode/c_1253.c | 2 +- sdk/tools/unicode/c_1254.c | 2 +- sdk/tools/unicode/c_1255.c | 2 +- sdk/tools/unicode/c_1256.c | 2 +- sdk/tools/unicode/c_1257.c | 2 +- sdk/tools/unicode/c_1258.c | 2 +- sdk/tools/unicode/c_1361.c | 2 +- sdk/tools/unicode/c_20127.c | 2 +- sdk/tools/unicode/c_20866.c | 2 +- sdk/tools/unicode/c_20932.c | 2 +- sdk/tools/unicode/c_21866.c | 2 +- sdk/tools/unicode/c_28591.c | 2 +- sdk/tools/unicode/c_28592.c | 2 +- sdk/tools/unicode/c_28593.c | 2 +- sdk/tools/unicode/c_28594.c | 2 +- sdk/tools/unicode/c_28595.c | 2 +- sdk/tools/unicode/c_28596.c | 2 +- sdk/tools/unicode/c_28597.c | 2 +- sdk/tools/unicode/c_28598.c | 2 +- sdk/tools/unicode/c_28599.c | 2 +- sdk/tools/unicode/c_28600.c | 2 +- sdk/tools/unicode/c_28603.c | 2 +- sdk/tools/unicode/c_28604.c | 2 +- sdk/tools/unicode/c_28605.c | 2 +- sdk/tools/unicode/c_28606.c | 2 +- sdk/tools/unicode/c_424.c | 2 +- sdk/tools/unicode/c_437.c | 2 +- sdk/tools/unicode/c_500.c | 2 +- sdk/tools/unicode/c_737.c | 2 +- sdk/tools/unicode/c_775.c | 2 +- sdk/tools/unicode/c_850.c | 2 +- sdk/tools/unicode/c_852.c | 2 +- sdk/tools/unicode/c_855.c | 2 +- sdk/tools/unicode/c_856.c | 2 +- sdk/tools/unicode/c_857.c | 2 +- sdk/tools/unicode/c_860.c | 2 +- sdk/tools/unicode/c_861.c | 2 +- sdk/tools/unicode/c_862.c | 2 +- sdk/tools/unicode/c_863.c | 2 +- sdk/tools/unicode/c_864.c | 2 +- sdk/tools/unicode/c_865.c | 2 +- sdk/tools/unicode/c_866.c | 2 +- sdk/tools/unicode/c_869.c | 2 +- sdk/tools/unicode/c_874.c | 2 +- sdk/tools/unicode/c_875.c | 2 +- sdk/tools/unicode/c_878.c | 2 +- sdk/tools/unicode/c_932.c | 2 +- sdk/tools/unicode/c_936.c | 2 +- sdk/tools/unicode/c_949.c | 2 +- sdk/tools/unicode/c_950.c | 2 +- sdk/tools/unicode/casemap.c | 2 +- sdk/tools/unicode/compose.c | 4 ++-- sdk/tools/unicode/mbtowc.c | 2 +- sdk/tools/unicode/string.c | 2 ++ sdk/tools/unicode/utf8.c | 2 +- sdk/tools/unicode/wctomb.c | 2 +- sdk/tools/unicode/wctype.c | 38 +++++++++++++++++++------------------- 81 files changed, 103 insertions(+), 98 deletions(-)
diff --git a/media/doc/README.WINE b/media/doc/README.WINE index 6a8ed462f1..0667b21ba9 100644 --- a/media/doc/README.WINE +++ b/media/doc/README.WINE @@ -15,7 +15,7 @@ wine-patches@winehq.com and ros-dev@reactos.org
The following build tools are shared with Wine.
-reactos/sdk/tools/unicode # Synced to WineStaging-2.9 +reactos/sdk/tools/unicode # Synced to WineStaging-3.3 reactos/sdk/tools/widl # Synced to WineStaging-2.16 reactos/sdk/tools/wpp # Synced to WineStaging-2.9
diff --git a/sdk/tools/unicode/CMakeLists.txt b/sdk/tools/unicode/CMakeLists.txt index 94777f187b..a715719c8b 100644 --- a/sdk/tools/unicode/CMakeLists.txt +++ b/sdk/tools/unicode/CMakeLists.txt @@ -1,3 +1,6 @@ + +add_definitions(-DDECLSPEC_HIDDEN=) + list(APPEND SOURCE c_037.c c_10000.c diff --git a/sdk/tools/unicode/c_037.c b/sdk/tools/unicode/c_037.c index 164a91a157..18e25f3cfb 100644 --- a/sdk/tools/unicode/c_037.c +++ b/sdk/tools/unicode/c_037.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_037 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_037 = { { 37, 1, 0x006f, 0x003f, "IBM EBCDIC US Canada" }, cp2uni, diff --git a/sdk/tools/unicode/c_10000.c b/sdk/tools/unicode/c_10000.c index 9f0b51658a..bae5e52b51 100644 --- a/sdk/tools/unicode/c_10000.c +++ b/sdk/tools/unicode/c_10000.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x111e, 0x111e, 0x111e, 0x0e79, 0x111e, 0x111e, 0x0f30, 0x102f };
-const struct sbcs_table cptable_10000 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_10000 = { { 10000, 1, 0x003f, 0x003f, "Mac Roman" }, cp2uni, diff --git a/sdk/tools/unicode/c_10001.c b/sdk/tools/unicode/c_10001.c index 3285980b20..5bee88e42b 100644 --- a/sdk/tools/unicode/c_10001.c +++ b/sdk/tools/unicode/c_10001.c @@ -7128,7 +7128,7 @@ static const unsigned short uni2cp_high[256] = 0x6554, 0x6648, 0x673a, 0x69ef, 0x69ef, 0x69ef, 0x680a, 0x6909 };
-const struct dbcs_table cptable_10001 = +const struct dbcs_table DECLSPEC_HIDDEN cptable_10001 = { { 10001, 2, 0x003f, 0x30fb, "Mac Japanese" }, cp2uni, diff --git a/sdk/tools/unicode/c_10002.c b/sdk/tools/unicode/c_10002.c index 5acd415f9b..dad3648633 100644 --- a/sdk/tools/unicode/c_10002.c +++ b/sdk/tools/unicode/c_10002.c @@ -6538,7 +6538,7 @@ static const unsigned short uni2cp_high[256] = 0x6482, 0x6582, 0x6682, 0x675b, 0x6a19, 0x6a19, 0x682b, 0x692a };
-const struct dbcs_table cptable_10002 = +const struct dbcs_table DECLSPEC_HIDDEN cptable_10002 = { { 10002, 2, 0x003f, 0x003f, "Mac Traditional Chinese" }, cp2uni, diff --git a/sdk/tools/unicode/c_10003.c b/sdk/tools/unicode/c_10003.c index dd17fbd377..32ac146c39 100644 --- a/sdk/tools/unicode/c_10003.c +++ b/sdk/tools/unicode/c_10003.c @@ -8243,7 +8243,7 @@ static const unsigned short uni2cp_high[256] = 0x94b4, 0x95b4, 0x96b4, 0x978b, 0x9a30, 0x9a30, 0x9842, 0x9941 };
-const struct dbcs_table cptable_10003 = +const struct dbcs_table DECLSPEC_HIDDEN cptable_10003 = { { 10003, 2, 0x003f, 0x003f, "Mac Korean" }, cp2uni, diff --git a/sdk/tools/unicode/c_10004.c b/sdk/tools/unicode/c_10004.c index d8c20ce3cc..c80fcc2ab6 100644 --- a/sdk/tools/unicode/c_10004.c +++ b/sdk/tools/unicode/c_10004.c @@ -760,7 +760,7 @@ static const unsigned short uni2cp_high[256] = 0x0fe8, 0x1364, 0x1364, 0x10bf, 0x1364, 0x1364, 0x1176, 0x1275 };
-const struct sbcs_table cptable_10004 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_10004 = { { 10004, 1, 0x003f, 0x003f, "Mac Arabic" }, cp2uni, diff --git a/sdk/tools/unicode/c_10005.c b/sdk/tools/unicode/c_10005.c index 9e21c2d9b8..137de05b3a 100644 --- a/sdk/tools/unicode/c_10005.c +++ b/sdk/tools/unicode/c_10005.c @@ -777,7 +777,7 @@ static const unsigned short uni2cp_high[256] = 0x1062, 0x13ea, 0x13ea, 0x1145, 0x13ea, 0x13ea, 0x11fc, 0x12fb };
-const struct sbcs_table cptable_10005 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_10005 = { { 10005, 1, 0x003f, 0x003f, "Mac Hebrew" }, cp2uni, diff --git a/sdk/tools/unicode/c_10006.c b/sdk/tools/unicode/c_10006.c index ba0ce21b0f..1ccdffa980 100644 --- a/sdk/tools/unicode/c_10006.c +++ b/sdk/tools/unicode/c_10006.c @@ -687,7 +687,7 @@ static const unsigned short uni2cp_high[256] = 0x113f, 0x113f, 0x113f, 0x0e9a, 0x113f, 0x113f, 0x0f51, 0x1050 };
-const struct sbcs_table cptable_10006 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_10006 = { { 10006, 1, 0x003f, 0x003f, "Mac Greek" }, cp2uni, diff --git a/sdk/tools/unicode/c_10007.c b/sdk/tools/unicode/c_10007.c index aa8822e8bd..0934fc5e2b 100644 --- a/sdk/tools/unicode/c_10007.c +++ b/sdk/tools/unicode/c_10007.c @@ -750,7 +750,7 @@ static const unsigned short uni2cp_high[256] = 0x131e, 0x131e, 0x131e, 0x1079, 0x131e, 0x131e, 0x1130, 0x122f };
-const struct sbcs_table cptable_10007 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_10007 = { { 10007, 1, 0x003f, 0x003f, "Mac Cyrillic" }, cp2uni, diff --git a/sdk/tools/unicode/c_10008.c b/sdk/tools/unicode/c_10008.c index dff7a4ec93..48699a99ec 100644 --- a/sdk/tools/unicode/c_10008.c +++ b/sdk/tools/unicode/c_10008.c @@ -6301,7 +6301,7 @@ static const unsigned short uni2cp_high[256] = 0x631b, 0x641a, 0x651a, 0x65f1, 0x68ae, 0x68ae, 0x66c0, 0x67bf };
-const struct dbcs_table cptable_10008 = +const struct dbcs_table DECLSPEC_HIDDEN cptable_10008 = { { 10008, 2, 0x003f, 0x003f, "Mac Simplified Chinese" }, cp2uni, diff --git a/sdk/tools/unicode/c_10010.c b/sdk/tools/unicode/c_10010.c index 140d7521aa..90b83269b6 100644 --- a/sdk/tools/unicode/c_10010.c +++ b/sdk/tools/unicode/c_10010.c @@ -715,7 +715,7 @@ static const unsigned short uni2cp_high[256] = 0x0e74, 0x1219, 0x1219, 0x0f74, 0x1219, 0x1219, 0x102b, 0x112a };
-const struct sbcs_table cptable_10010 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_10010 = { { 10010, 1, 0x003f, 0x003f, "Mac Romanian" }, cp2uni, diff --git a/sdk/tools/unicode/c_10017.c b/sdk/tools/unicode/c_10017.c index 1246c86068..165fc52e13 100644 --- a/sdk/tools/unicode/c_10017.c +++ b/sdk/tools/unicode/c_10017.c @@ -750,7 +750,7 @@ static const unsigned short uni2cp_high[256] = 0x131b, 0x131b, 0x131b, 0x1076, 0x131b, 0x131b, 0x112d, 0x122c };
-const struct sbcs_table cptable_10017 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_10017 = { { 10017, 1, 0x003f, 0x003f, "Mac Ukrainian" }, cp2uni, diff --git a/sdk/tools/unicode/c_10021.c b/sdk/tools/unicode/c_10021.c index 6294970941..1665fa175f 100644 --- a/sdk/tools/unicode/c_10021.c +++ b/sdk/tools/unicode/c_10021.c @@ -715,7 +715,7 @@ static const unsigned short uni2cp_high[256] = 0x1212, 0x1212, 0x1212, 0x0f6d, 0x1212, 0x1212, 0x1024, 0x1123 };
-const struct sbcs_table cptable_10021 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_10021 = { { 10021, 1, 0x003f, 0x003f, "Mac Thai" }, cp2uni, diff --git a/sdk/tools/unicode/c_10029.c b/sdk/tools/unicode/c_10029.c index 9829f41058..af4f00623a 100644 --- a/sdk/tools/unicode/c_10029.c +++ b/sdk/tools/unicode/c_10029.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x1117, 0x1117, 0x1117, 0x0e72, 0x1117, 0x1117, 0x0f29, 0x1028 };
-const struct sbcs_table cptable_10029 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_10029 = { { 10029, 1, 0x003f, 0x003f, "Mac Latin 2" }, cp2uni, diff --git a/sdk/tools/unicode/c_1006.c b/sdk/tools/unicode/c_1006.c index b11669e6b4..da6575eb0a 100644 --- a/sdk/tools/unicode/c_1006.c +++ b/sdk/tools/unicode/c_1006.c @@ -719,7 +719,7 @@ static const unsigned short uni2cp_high[256] = 0x122d, 0x122d, 0x122d, 0x0f88, 0x122d, 0x122d, 0x103f, 0x113e };
-const struct sbcs_table cptable_1006 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_1006 = { { 1006, 1, 0x003f, 0x003f, "IBM Arabic" }, cp2uni, diff --git a/sdk/tools/unicode/c_10079.c b/sdk/tools/unicode/c_10079.c index 885984c019..31533fc9eb 100644 --- a/sdk/tools/unicode/c_10079.c +++ b/sdk/tools/unicode/c_10079.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x1119, 0x1119, 0x1119, 0x0e74, 0x1119, 0x1119, 0x0f2b, 0x102a };
-const struct sbcs_table cptable_10079 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_10079 = { { 10079, 1, 0x003f, 0x003f, "Mac Icelandic" }, cp2uni, diff --git a/sdk/tools/unicode/c_10081.c b/sdk/tools/unicode/c_10081.c index 5aea465627..6d4733eee9 100644 --- a/sdk/tools/unicode/c_10081.c +++ b/sdk/tools/unicode/c_10081.c @@ -710,7 +710,7 @@ static const unsigned short uni2cp_high[256] = 0x0e74, 0x11f0, 0x11f0, 0x0f4b, 0x11f0, 0x11f0, 0x1002, 0x1101 };
-const struct sbcs_table cptable_10081 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_10081 = { { 10081, 1, 0x003f, 0x003f, "Mac Turkish" }, cp2uni, diff --git a/sdk/tools/unicode/c_10082.c b/sdk/tools/unicode/c_10082.c index c42b427b4c..b2a4ce7074 100644 --- a/sdk/tools/unicode/c_10082.c +++ b/sdk/tools/unicode/c_10082.c @@ -715,7 +715,7 @@ static const unsigned short uni2cp_high[256] = 0x0e74, 0x1219, 0x1219, 0x0f74, 0x1219, 0x1219, 0x102b, 0x112a };
-const struct sbcs_table cptable_10082 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_10082 = { { 10082, 1, 0x003f, 0x003f, "Mac Croatian" }, cp2uni, diff --git a/sdk/tools/unicode/c_1026.c b/sdk/tools/unicode/c_1026.c index 4975390f42..4887024ab2 100644 --- a/sdk/tools/unicode/c_1026.c +++ b/sdk/tools/unicode/c_1026.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_1026 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_1026 = { { 1026, 1, 0x006f, 0x003f, "IBM EBCDIC Latin 5 Turkish" }, cp2uni, diff --git a/sdk/tools/unicode/c_1250.c b/sdk/tools/unicode/c_1250.c index 6279a4a013..81ef082ce8 100644 --- a/sdk/tools/unicode/c_1250.c +++ b/sdk/tools/unicode/c_1250.c @@ -576,7 +576,7 @@ static const unsigned short uni2cp_high[256] = 0x0dd7, 0x0dd7, 0x0dd7, 0x0dd7, 0x0dd7, 0x0dd7, 0x0dd7, 0x0d78 };
-const struct sbcs_table cptable_1250 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_1250 = { { 1250, 1, 0x003f, 0x003f, "ANSI Eastern Europe" }, cp2uni, diff --git a/sdk/tools/unicode/c_1251.c b/sdk/tools/unicode/c_1251.c index 5103c2bdc4..51e929aff7 100644 --- a/sdk/tools/unicode/c_1251.c +++ b/sdk/tools/unicode/c_1251.c @@ -412,7 +412,7 @@ static const unsigned short uni2cp_high[256] = 0x08f3, 0x08f3, 0x08f3, 0x08f3, 0x08f3, 0x08f3, 0x08f3, 0x0894 };
-const struct sbcs_table cptable_1251 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_1251 = { { 1251, 1, 0x003f, 0x003f, "ANSI Cyrillic" }, cp2uni, diff --git a/sdk/tools/unicode/c_1252.c b/sdk/tools/unicode/c_1252.c index 0fc4f44b1e..5a0d23ab21 100644 --- a/sdk/tools/unicode/c_1252.c +++ b/sdk/tools/unicode/c_1252.c @@ -574,7 +574,7 @@ static const unsigned short uni2cp_high[256] = 0x0dcb, 0x0dcb, 0x0dcb, 0x0dcb, 0x0dcb, 0x0dcb, 0x0dcb, 0x0d6c };
-const struct sbcs_table cptable_1252 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_1252 = { { 1252, 1, 0x003f, 0x003f, "ANSI Latin 1" }, cp2uni, diff --git a/sdk/tools/unicode/c_1253.c b/sdk/tools/unicode/c_1253.c index 9b8c58da65..79675f0c2a 100644 --- a/sdk/tools/unicode/c_1253.c +++ b/sdk/tools/unicode/c_1253.c @@ -424,7 +424,7 @@ static const unsigned short uni2cp_high[256] = 0x07e3, 0x0941, 0x0941, 0x0941, 0x0941, 0x0941, 0x0941, 0x08e2 };
-const struct sbcs_table cptable_1253 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_1253 = { { 1253, 1, 0x003f, 0x003f, "ANSI Greek" }, cp2uni, diff --git a/sdk/tools/unicode/c_1254.c b/sdk/tools/unicode/c_1254.c index b5fd3ad666..4cf3e26121 100644 --- a/sdk/tools/unicode/c_1254.c +++ b/sdk/tools/unicode/c_1254.c @@ -576,7 +576,7 @@ static const unsigned short uni2cp_high[256] = 0x0dd7, 0x0dd7, 0x0dd7, 0x0dd7, 0x0dd7, 0x0dd7, 0x0dd7, 0x0d78 };
-const struct sbcs_table cptable_1254 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_1254 = { { 1254, 1, 0x003f, 0x003f, "ANSI Turkish" }, cp2uni, diff --git a/sdk/tools/unicode/c_1255.c b/sdk/tools/unicode/c_1255.c index 6256cedc3e..521da855aa 100644 --- a/sdk/tools/unicode/c_1255.c +++ b/sdk/tools/unicode/c_1255.c @@ -317,7 +317,7 @@ static const unsigned short uni2cp_high[256] = 0x04ae, 0x060c, 0x060c, 0x060c, 0x060c, 0x060c, 0x060c, 0x05ad };
-const struct sbcs_table cptable_1255 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_1255 = { { 1255, 1, 0x003f, 0x003f, "ANSI Hebrew" }, cp2uni, diff --git a/sdk/tools/unicode/c_1256.c b/sdk/tools/unicode/c_1256.c index 5e722b278f..a7b1e16fe0 100644 --- a/sdk/tools/unicode/c_1256.c +++ b/sdk/tools/unicode/c_1256.c @@ -351,7 +351,7 @@ static const unsigned short uni2cp_high[256] = 0x070e, 0x070e, 0x070e, 0x0500, 0x070e, 0x070e, 0x05b0, 0x06af };
-const struct sbcs_table cptable_1256 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_1256 = { { 1256, 1, 0x003f, 0x003f, "ANSI Arabic" }, cp2uni, diff --git a/sdk/tools/unicode/c_1257.c b/sdk/tools/unicode/c_1257.c index 89f9d9a1a5..f8acd5b822 100644 --- a/sdk/tools/unicode/c_1257.c +++ b/sdk/tools/unicode/c_1257.c @@ -275,7 +275,7 @@ static const unsigned short uni2cp_high[256] = 0x036d, 0x04cb, 0x04cb, 0x04cb, 0x04cb, 0x04cb, 0x04cb, 0x046c };
-const struct sbcs_table cptable_1257 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_1257 = { { 1257, 1, 0x003f, 0x003f, "ANSI Baltic" }, cp2uni, diff --git a/sdk/tools/unicode/c_1258.c b/sdk/tools/unicode/c_1258.c index 09b9ad6cc6..ef6c76e4e6 100644 --- a/sdk/tools/unicode/c_1258.c +++ b/sdk/tools/unicode/c_1258.c @@ -309,7 +309,7 @@ static const unsigned short uni2cp_high[256] = 0x05da, 0x05da, 0x05da, 0x05da, 0x05da, 0x05da, 0x05da, 0x057b };
-const struct sbcs_table cptable_1258 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_1258 = { { 1258, 1, 0x003f, 0x003f, "ANSI/OEM Viet Nam" }, cp2uni, diff --git a/sdk/tools/unicode/c_1361.c b/sdk/tools/unicode/c_1361.c index ab167d8353..f9b83df71f 100644 --- a/sdk/tools/unicode/c_1361.c +++ b/sdk/tools/unicode/c_1361.c @@ -8657,7 +8657,7 @@ static const unsigned short uni2cp_high[256] = 0x8c33, 0x8d33, 0x8e33, 0x9019, 0x9019, 0x9019, 0x9019, 0x8f32 };
-const struct dbcs_table cptable_1361 = +const struct dbcs_table DECLSPEC_HIDDEN cptable_1361 = { { 1361, 2, 0x003f, 0x003f, "Korean Johab" }, cp2uni, diff --git a/sdk/tools/unicode/c_20127.c b/sdk/tools/unicode/c_20127.c index a54a19e053..76583aa142 100644 --- a/sdk/tools/unicode/c_20127.c +++ b/sdk/tools/unicode/c_20127.c @@ -681,7 +681,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_20127 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_20127 = { { 20127, 1, 0x003f, 0x003f, "US-ASCII (7bit)" }, cp2uni, diff --git a/sdk/tools/unicode/c_20866.c b/sdk/tools/unicode/c_20866.c index 0ad56a24bb..2831375e31 100644 --- a/sdk/tools/unicode/c_20866.c +++ b/sdk/tools/unicode/c_20866.c @@ -750,7 +750,7 @@ static const unsigned short uni2cp_high[256] = 0x131b, 0x131b, 0x131b, 0x1076, 0x131b, 0x131b, 0x112d, 0x122c };
-const struct sbcs_table cptable_20866 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_20866 = { { 20866, 1, 0x003f, 0x003f, "Russian KOI8" }, cp2uni, diff --git a/sdk/tools/unicode/c_20932.c b/sdk/tools/unicode/c_20932.c index 32f6bb1516..5c8664cfc8 100644 --- a/sdk/tools/unicode/c_20932.c +++ b/sdk/tools/unicode/c_20932.c @@ -6265,7 +6265,7 @@ static const unsigned short uni2cp_high[256] = 0x69a6, 0x652a, 0x662a, 0x6701, 0x69a6, 0x69a6, 0x67b8, 0x68b7 };
-const struct dbcs_table cptable_20932 = +const struct dbcs_table DECLSPEC_HIDDEN cptable_20932 = { { 20932, 2, 0x003f, 0x30fb, "EUC-JP" }, cp2uni, diff --git a/sdk/tools/unicode/c_21866.c b/sdk/tools/unicode/c_21866.c index 6445a5fb05..c7103bb280 100644 --- a/sdk/tools/unicode/c_21866.c +++ b/sdk/tools/unicode/c_21866.c @@ -750,7 +750,7 @@ static const unsigned short uni2cp_high[256] = 0x131b, 0x131b, 0x131b, 0x1076, 0x131b, 0x131b, 0x112d, 0x122c };
-const struct sbcs_table cptable_21866 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_21866 = { { 21866, 1, 0x003f, 0x003f, "Ukrainian KOI8" }, cp2uni, diff --git a/sdk/tools/unicode/c_28591.c b/sdk/tools/unicode/c_28591.c index 71b7309501..2cdd870b9f 100644 --- a/sdk/tools/unicode/c_28591.c +++ b/sdk/tools/unicode/c_28591.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_28591 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_28591 = { { 28591, 1, 0x003f, 0x003f, "ISO 8859-1 Latin 1" }, cp2uni, diff --git a/sdk/tools/unicode/c_28592.c b/sdk/tools/unicode/c_28592.c index f9ae26186d..ed765441ea 100644 --- a/sdk/tools/unicode/c_28592.c +++ b/sdk/tools/unicode/c_28592.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_28592 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_28592 = { { 28592, 1, 0x003f, 0x003f, "ISO 8859-2 Latin 2 (East European)" }, cp2uni, diff --git a/sdk/tools/unicode/c_28593.c b/sdk/tools/unicode/c_28593.c index f0dbc6b0f7..df25061675 100644 --- a/sdk/tools/unicode/c_28593.c +++ b/sdk/tools/unicode/c_28593.c @@ -715,7 +715,7 @@ static const unsigned short uni2cp_high[256] = 0x1210, 0x1210, 0x1210, 0x0f6b, 0x1210, 0x1210, 0x1022, 0x1121 };
-const struct sbcs_table cptable_28593 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_28593 = { { 28593, 1, 0x003f, 0x003f, "ISO 8859-3 Latin 3 (South European)" }, cp2uni, diff --git a/sdk/tools/unicode/c_28594.c b/sdk/tools/unicode/c_28594.c index 325adfc806..f50d96531b 100644 --- a/sdk/tools/unicode/c_28594.c +++ b/sdk/tools/unicode/c_28594.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_28594 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_28594 = { { 28594, 1, 0x003f, 0x003f, "ISO 8859-4 Latin 4 (Baltic old)" }, cp2uni, diff --git a/sdk/tools/unicode/c_28595.c b/sdk/tools/unicode/c_28595.c index b2a671ca97..0c06b70b4b 100644 --- a/sdk/tools/unicode/c_28595.c +++ b/sdk/tools/unicode/c_28595.c @@ -750,7 +750,7 @@ static const unsigned short uni2cp_high[256] = 0x131b, 0x131b, 0x131b, 0x1076, 0x131b, 0x131b, 0x112d, 0x122c };
-const struct sbcs_table cptable_28595 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_28595 = { { 28595, 1, 0x003f, 0x003f, "ISO 8859-5 Cyrillic" }, cp2uni, diff --git a/sdk/tools/unicode/c_28596.c b/sdk/tools/unicode/c_28596.c index c1586f6009..39a6b6af45 100644 --- a/sdk/tools/unicode/c_28596.c +++ b/sdk/tools/unicode/c_28596.c @@ -746,7 +746,7 @@ static const unsigned short uni2cp_high[256] = 0x12fc, 0x12fc, 0x12fc, 0x1057, 0x12fc, 0x12fc, 0x110e, 0x120d };
-const struct sbcs_table cptable_28596 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_28596 = { { 28596, 1, 0x003f, 0x003f, "ISO 8859-6 Arabic" }, cp2uni, diff --git a/sdk/tools/unicode/c_28597.c b/sdk/tools/unicode/c_28597.c index 45376563e3..4464adf5a0 100644 --- a/sdk/tools/unicode/c_28597.c +++ b/sdk/tools/unicode/c_28597.c @@ -715,7 +715,7 @@ static const unsigned short uni2cp_high[256] = 0x1216, 0x1216, 0x1216, 0x0f71, 0x1216, 0x1216, 0x1028, 0x1127 };
-const struct sbcs_table cptable_28597 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_28597 = { { 28597, 1, 0x003f, 0x003f, "ISO 8859-7 Greek" }, cp2uni, diff --git a/sdk/tools/unicode/c_28598.c b/sdk/tools/unicode/c_28598.c index a3dc40d682..0546a3e9a4 100644 --- a/sdk/tools/unicode/c_28598.c +++ b/sdk/tools/unicode/c_28598.c @@ -743,7 +743,7 @@ static const unsigned short uni2cp_high[256] = 0x12e2, 0x12e2, 0x12e2, 0x103d, 0x12e2, 0x12e2, 0x10f4, 0x11f3 };
-const struct sbcs_table cptable_28598 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_28598 = { { 28598, 1, 0x003f, 0x003f, "ISO 8859-8 Hebrew" }, cp2uni, diff --git a/sdk/tools/unicode/c_28599.c b/sdk/tools/unicode/c_28599.c index be4bad410c..385047eb85 100644 --- a/sdk/tools/unicode/c_28599.c +++ b/sdk/tools/unicode/c_28599.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_28599 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_28599 = { { 28599, 1, 0x003f, 0x003f, "ISO 8859-9 Latin 5 (Turkish)" }, cp2uni, diff --git a/sdk/tools/unicode/c_28600.c b/sdk/tools/unicode/c_28600.c index 36c29b9105..bbc21a6b0c 100644 --- a/sdk/tools/unicode/c_28600.c +++ b/sdk/tools/unicode/c_28600.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_28600 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_28600 = { { 28600, 1, 0x003f, 0x003f, "ISO 8859-10 Latin 6 (Nordic)" }, cp2uni, diff --git a/sdk/tools/unicode/c_28603.c b/sdk/tools/unicode/c_28603.c index f059da381e..c1e49fd4fe 100644 --- a/sdk/tools/unicode/c_28603.c +++ b/sdk/tools/unicode/c_28603.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_28603 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_28603 = { { 28603, 1, 0x003f, 0x003f, "ISO 8859-13 Latin 7 (Baltic)" }, cp2uni, diff --git a/sdk/tools/unicode/c_28604.c b/sdk/tools/unicode/c_28604.c index 1b68789e4b..ab2e160126 100644 --- a/sdk/tools/unicode/c_28604.c +++ b/sdk/tools/unicode/c_28604.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_28604 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_28604 = { { 28604, 1, 0x003f, 0x003f, "ISO 8859-14 Latin 8 (Celtic)" }, cp2uni, diff --git a/sdk/tools/unicode/c_28605.c b/sdk/tools/unicode/c_28605.c index fecb8ca067..2848eded75 100644 --- a/sdk/tools/unicode/c_28605.c +++ b/sdk/tools/unicode/c_28605.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_28605 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_28605 = { { 28605, 1, 0x003f, 0x003f, "ISO 8859-15 Latin 9 (Euro)" }, cp2uni, diff --git a/sdk/tools/unicode/c_28606.c b/sdk/tools/unicode/c_28606.c index 9dee969ae3..cab3ee1c0a 100644 --- a/sdk/tools/unicode/c_28606.c +++ b/sdk/tools/unicode/c_28606.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_28606 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_28606 = { { 28606, 1, 0x003f, 0x003f, "ISO 8859-16 Latin 10 (Balkan)" }, cp2uni, diff --git a/sdk/tools/unicode/c_424.c b/sdk/tools/unicode/c_424.c index 0ae1fe24be..8b7da59074 100644 --- a/sdk/tools/unicode/c_424.c +++ b/sdk/tools/unicode/c_424.c @@ -713,7 +713,7 @@ static const unsigned short uni2cp_high[256] = 0x11ff, 0x11ff, 0x11ff, 0x0f5a, 0x11ff, 0x11ff, 0x1011, 0x1110 };
-const struct sbcs_table cptable_424 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_424 = { { 424, 1, 0x003f, 0x003f, "IBM EBCDIC Hebrew" }, cp2uni, diff --git a/sdk/tools/unicode/c_437.c b/sdk/tools/unicode/c_437.c index af234de97c..9df7a7f709 100644 --- a/sdk/tools/unicode/c_437.c +++ b/sdk/tools/unicode/c_437.c @@ -720,7 +720,7 @@ static const unsigned short uni2cp_high[256] = 0x113f, 0x113f, 0x113f, 0x0e9a, 0x113f, 0x113f, 0x0f51, 0x1050 };
-const struct sbcs_table cptable_437 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_437 = { { 437, 1, 0x003f, 0x003f, "OEM United States" }, cp2uni, diff --git a/sdk/tools/unicode/c_500.c b/sdk/tools/unicode/c_500.c index 69bb4e6a12..42e8107654 100644 --- a/sdk/tools/unicode/c_500.c +++ b/sdk/tools/unicode/c_500.c @@ -682,7 +682,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_500 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_500 = { { 500, 1, 0x006f, 0x003f, "IBM EBCDIC International" }, cp2uni, diff --git a/sdk/tools/unicode/c_737.c b/sdk/tools/unicode/c_737.c index 57a6f1ef48..0399c4bfd7 100644 --- a/sdk/tools/unicode/c_737.c +++ b/sdk/tools/unicode/c_737.c @@ -720,7 +720,7 @@ static const unsigned short uni2cp_high[256] = 0x113f, 0x113f, 0x113f, 0x0e9a, 0x113f, 0x113f, 0x0f51, 0x1050 };
-const struct sbcs_table cptable_737 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_737 = { { 737, 1, 0x003f, 0x003f, "OEM Greek 437G" }, cp2uni, diff --git a/sdk/tools/unicode/c_775.c b/sdk/tools/unicode/c_775.c index 54d2abeb12..1b3594c8df 100644 --- a/sdk/tools/unicode/c_775.c +++ b/sdk/tools/unicode/c_775.c @@ -715,7 +715,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_775 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_775 = { { 775, 1, 0x003f, 0x003f, "OEM Baltic" }, cp2uni, diff --git a/sdk/tools/unicode/c_850.c b/sdk/tools/unicode/c_850.c index adedcf8c5d..674651f0c3 100644 --- a/sdk/tools/unicode/c_850.c +++ b/sdk/tools/unicode/c_850.c @@ -715,7 +715,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_850 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_850 = { { 850, 1, 0x003f, 0x003f, "OEM Multilingual Latin 1" }, cp2uni, diff --git a/sdk/tools/unicode/c_852.c b/sdk/tools/unicode/c_852.c index 977b1d9b77..d614e8ab13 100644 --- a/sdk/tools/unicode/c_852.c +++ b/sdk/tools/unicode/c_852.c @@ -715,7 +715,7 @@ static const unsigned short uni2cp_high[256] = 0x1114, 0x1114, 0x1114, 0x0e6f, 0x1114, 0x1114, 0x0f26, 0x1025 };
-const struct sbcs_table cptable_852 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_852 = { { 852, 1, 0x003f, 0x003f, "OEM Slovak Latin 2" }, cp2uni, diff --git a/sdk/tools/unicode/c_855.c b/sdk/tools/unicode/c_855.c index c449f491ea..807c6790ee 100644 --- a/sdk/tools/unicode/c_855.c +++ b/sdk/tools/unicode/c_855.c @@ -783,7 +783,7 @@ static const unsigned short uni2cp_high[256] = 0x131b, 0x131b, 0x131b, 0x1076, 0x131b, 0x131b, 0x112d, 0x122c };
-const struct sbcs_table cptable_855 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_855 = { { 855, 1, 0x003f, 0x003f, "OEM Cyrillic" }, cp2uni, diff --git a/sdk/tools/unicode/c_856.c b/sdk/tools/unicode/c_856.c index d10d0c86e5..0b152b6096 100644 --- a/sdk/tools/unicode/c_856.c +++ b/sdk/tools/unicode/c_856.c @@ -713,7 +713,7 @@ static const unsigned short uni2cp_high[256] = 0x11ff, 0x11ff, 0x11ff, 0x0f5a, 0x11ff, 0x11ff, 0x1011, 0x1110 };
-const struct sbcs_table cptable_856 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_856 = { { 856, 1, 0x003f, 0x003f, "Hebrew PC" }, cp2uni, diff --git a/sdk/tools/unicode/c_857.c b/sdk/tools/unicode/c_857.c index 21cc4b4023..9bd36c1c5b 100644 --- a/sdk/tools/unicode/c_857.c +++ b/sdk/tools/unicode/c_857.c @@ -743,7 +743,7 @@ static const unsigned short uni2cp_high[256] = 0x0e6f, 0x11eb, 0x11eb, 0x0f46, 0x11eb, 0x11eb, 0x0ffd, 0x10fc };
-const struct sbcs_table cptable_857 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_857 = { { 857, 1, 0x003f, 0x003f, "OEM Turkish" }, cp2uni, diff --git a/sdk/tools/unicode/c_860.c b/sdk/tools/unicode/c_860.c index 620a3f5da7..d6d147c111 100644 --- a/sdk/tools/unicode/c_860.c +++ b/sdk/tools/unicode/c_860.c @@ -720,7 +720,7 @@ static const unsigned short uni2cp_high[256] = 0x113f, 0x113f, 0x113f, 0x0e9a, 0x113f, 0x113f, 0x0f51, 0x1050 };
-const struct sbcs_table cptable_860 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_860 = { { 860, 1, 0x003f, 0x003f, "OEM Portuguese" }, cp2uni, diff --git a/sdk/tools/unicode/c_861.c b/sdk/tools/unicode/c_861.c index d869db65ad..67cd1438a1 100644 --- a/sdk/tools/unicode/c_861.c +++ b/sdk/tools/unicode/c_861.c @@ -720,7 +720,7 @@ static const unsigned short uni2cp_high[256] = 0x113f, 0x113f, 0x113f, 0x0e9a, 0x113f, 0x113f, 0x0f51, 0x1050 };
-const struct sbcs_table cptable_861 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_861 = { { 861, 1, 0x003f, 0x003f, "OEM Icelandic" }, cp2uni, diff --git a/sdk/tools/unicode/c_862.c b/sdk/tools/unicode/c_862.c index aa9fa2d9ff..18a8a997b7 100644 --- a/sdk/tools/unicode/c_862.c +++ b/sdk/tools/unicode/c_862.c @@ -751,7 +751,7 @@ static const unsigned short uni2cp_high[256] = 0x122a, 0x122a, 0x122a, 0x0f85, 0x122a, 0x122a, 0x103c, 0x113b };
-const struct sbcs_table cptable_862 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_862 = { { 862, 1, 0x003f, 0x003f, "OEM Hebrew" }, cp2uni, diff --git a/sdk/tools/unicode/c_863.c b/sdk/tools/unicode/c_863.c index d7a6f964b4..3bea216b63 100644 --- a/sdk/tools/unicode/c_863.c +++ b/sdk/tools/unicode/c_863.c @@ -720,7 +720,7 @@ static const unsigned short uni2cp_high[256] = 0x113f, 0x113f, 0x113f, 0x0e9a, 0x113f, 0x113f, 0x0f51, 0x1050 };
-const struct sbcs_table cptable_863 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_863 = { { 863, 1, 0x003f, 0x003f, "OEM Canadian French" }, cp2uni, diff --git a/sdk/tools/unicode/c_864.c b/sdk/tools/unicode/c_864.c index e65fa3850f..e3088b6be9 100644 --- a/sdk/tools/unicode/c_864.c +++ b/sdk/tools/unicode/c_864.c @@ -742,7 +742,7 @@ static const unsigned short uni2cp_high[256] = 0x0f62, 0x12de, 0x12de, 0x1039, 0x12de, 0x12de, 0x10f0, 0x11ef };
-const struct sbcs_table cptable_864 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_864 = { { 864, 1, 0x003f, 0x003f, "OEM Arabic" }, cp2uni, diff --git a/sdk/tools/unicode/c_865.c b/sdk/tools/unicode/c_865.c index ef5e75d6a3..5b5f1ce1bb 100644 --- a/sdk/tools/unicode/c_865.c +++ b/sdk/tools/unicode/c_865.c @@ -720,7 +720,7 @@ static const unsigned short uni2cp_high[256] = 0x113f, 0x113f, 0x113f, 0x0e9a, 0x113f, 0x113f, 0x0f51, 0x1050 };
-const struct sbcs_table cptable_865 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_865 = { { 865, 1, 0x003f, 0x003f, "OEM Nordic" }, cp2uni, diff --git a/sdk/tools/unicode/c_866.c b/sdk/tools/unicode/c_866.c index abcc8b65fc..37fb6b0f37 100644 --- a/sdk/tools/unicode/c_866.c +++ b/sdk/tools/unicode/c_866.c @@ -783,7 +783,7 @@ static const unsigned short uni2cp_high[256] = 0x131b, 0x131b, 0x131b, 0x1076, 0x131b, 0x131b, 0x112d, 0x122c };
-const struct sbcs_table cptable_866 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_866 = { { 866, 1, 0x003f, 0x003f, "OEM Russian" }, cp2uni, diff --git a/sdk/tools/unicode/c_869.c b/sdk/tools/unicode/c_869.c index 76ecb5994f..70cff9a5fc 100644 --- a/sdk/tools/unicode/c_869.c +++ b/sdk/tools/unicode/c_869.c @@ -720,7 +720,7 @@ static const unsigned short uni2cp_high[256] = 0x113f, 0x113f, 0x113f, 0x0e9a, 0x113f, 0x113f, 0x0f51, 0x1050 };
-const struct sbcs_table cptable_869 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_869 = { { 869, 1, 0x003f, 0x003f, "OEM Greek" }, cp2uni, diff --git a/sdk/tools/unicode/c_874.c b/sdk/tools/unicode/c_874.c index c7ff356511..e5a83388a6 100644 --- a/sdk/tools/unicode/c_874.c +++ b/sdk/tools/unicode/c_874.c @@ -419,7 +419,7 @@ static const unsigned short uni2cp_high[256] = 0x06be, 0x081c, 0x081c, 0x081c, 0x081c, 0x081c, 0x081c, 0x07bd };
-const struct sbcs_table cptable_874 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_874 = { { 874, 1, 0x003f, 0x003f, "ANSI/OEM Thai" }, cp2uni, diff --git a/sdk/tools/unicode/c_875.c b/sdk/tools/unicode/c_875.c index 59eafafb41..ba6f2e6491 100644 --- a/sdk/tools/unicode/c_875.c +++ b/sdk/tools/unicode/c_875.c @@ -687,7 +687,7 @@ static const unsigned short uni2cp_high[256] = 0x113f, 0x113f, 0x113f, 0x0e9a, 0x113f, 0x113f, 0x0f51, 0x1050 };
-const struct sbcs_table cptable_875 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_875 = { { 875, 1, 0x006f, 0x003f, "IBM EBCDIC Greek" }, cp2uni, diff --git a/sdk/tools/unicode/c_878.c b/sdk/tools/unicode/c_878.c index 3afe491b85..16f0e257e3 100644 --- a/sdk/tools/unicode/c_878.c +++ b/sdk/tools/unicode/c_878.c @@ -750,7 +750,7 @@ static const unsigned short uni2cp_high[256] = 0x131b, 0x131b, 0x131b, 0x1076, 0x131b, 0x131b, 0x112d, 0x122c };
-const struct sbcs_table cptable_878 = +const struct sbcs_table DECLSPEC_HIDDEN cptable_878 = { { 878, 1, 0x003f, 0x003f, "Russian KOI8" }, cp2uni, diff --git a/sdk/tools/unicode/c_932.c b/sdk/tools/unicode/c_932.c index b98522e753..5129380054 100644 --- a/sdk/tools/unicode/c_932.c +++ b/sdk/tools/unicode/c_932.c @@ -5588,7 +5588,7 @@ static const unsigned short uni2cp_high[256] = 0x647f, 0x6573, 0x6665, 0x684a, 0x684a, 0x684a, 0x684a, 0x6764 };
-const struct dbcs_table cptable_932 = +const struct dbcs_table DECLSPEC_HIDDEN cptable_932 = { { 932, 2, 0x003f, 0x30fb, "ANSI/OEM Japanese Shift-JIS" }, cp2uni, diff --git a/sdk/tools/unicode/c_936.c b/sdk/tools/unicode/c_936.c index 3754f2d68c..09786ebbac 100644 --- a/sdk/tools/unicode/c_936.c +++ b/sdk/tools/unicode/c_936.c @@ -7937,7 +7937,7 @@ static const unsigned short uni2cp_high[256] = 0x6919, 0x6a19, 0x6b19, 0x6dce, 0x6dce, 0x6dce, 0x6be9, 0x6ce8 };
-const struct dbcs_table cptable_936 = +const struct dbcs_table DECLSPEC_HIDDEN cptable_936 = { { 936, 2, 0x003f, 0x003f, "ANSI/OEM Simplified Chinese GBK" }, cp2uni, diff --git a/sdk/tools/unicode/c_949.c b/sdk/tools/unicode/c_949.c index 4dbb845bc2..da1f1c9f5d 100644 --- a/sdk/tools/unicode/c_949.c +++ b/sdk/tools/unicode/c_949.c @@ -9095,7 +9095,7 @@ static const unsigned short uni2cp_high[256] = 0x8c74, 0x8d74, 0x8e74, 0x905a, 0x905a, 0x905a, 0x905a, 0x8f73 };
-const struct dbcs_table cptable_949 = +const struct dbcs_table DECLSPEC_HIDDEN cptable_949 = { { 949, 2, 0x003f, 0x003f, "ANSI/OEM Korean Unified Hangul" }, cp2uni, diff --git a/sdk/tools/unicode/c_950.c b/sdk/tools/unicode/c_950.c index 4430d0a118..74eddfc175 100644 --- a/sdk/tools/unicode/c_950.c +++ b/sdk/tools/unicode/c_950.c @@ -8344,7 +8344,7 @@ static const unsigned short uni2cp_high[256] = 0x753e, 0x763e, 0x773e, 0x79f3, 0x79f3, 0x79f3, 0x780e, 0x790d };
-const struct dbcs_table cptable_950 = +const struct dbcs_table DECLSPEC_HIDDEN cptable_950 = { { 950, 2, 0x003f, 0x003f, "ANSI/OEM Traditional Chinese Big5" }, cp2uni, diff --git a/sdk/tools/unicode/casemap.c b/sdk/tools/unicode/casemap.c index 923989147e..bfab3233ee 100644 --- a/sdk/tools/unicode/casemap.c +++ b/sdk/tools/unicode/casemap.c @@ -1,5 +1,5 @@ /* Unicode case mappings */ -/* generated from http://www.unicode.org/Public/9.0.0/ucd/UnicodeData.txt */ +/* generated from http://www.unicode.org/Public/10.0.0/ucd/UnicodeData.txt */ /* DO NOT EDIT!! */
#include "wine/unicode.h" diff --git a/sdk/tools/unicode/compose.c b/sdk/tools/unicode/compose.c index 1f2b7df34b..71589f47c1 100644 --- a/sdk/tools/unicode/compose.c +++ b/sdk/tools/unicode/compose.c @@ -1,5 +1,5 @@ /* Unicode char composition */ -/* generated from http://www.unicode.org/Public/9.0.0/ucd/UnicodeData.txt */ +/* generated from http://www.unicode.org/Public/10.0.0/ucd/UnicodeData.txt */ /* DO NOT EDIT!! */
#include "wine/unicode.h" @@ -392,7 +392,7 @@ static inline int binary_search( WCHAR ch, int low, int high ) return -1; }
-WCHAR wine_compose( const WCHAR *str ) +WCHAR DECLSPEC_HIDDEN wine_compose( const WCHAR *str ) { int pos, idx = 1, start = 0, count = 70; for (;;) diff --git a/sdk/tools/unicode/mbtowc.c b/sdk/tools/unicode/mbtowc.c index 5e32367099..4977c82d8b 100644 --- a/sdk/tools/unicode/mbtowc.c +++ b/sdk/tools/unicode/mbtowc.c @@ -22,7 +22,7 @@
#include "wine/unicode.h"
-extern unsigned int wine_decompose( WCHAR ch, WCHAR *dst, unsigned int dstlen ); +extern unsigned int wine_decompose( WCHAR ch, WCHAR *dst, unsigned int dstlen ) DECLSPEC_HIDDEN;
/* check the code whether it is in Unicode Private Use Area (PUA). */ /* MB_ERR_INVALID_CHARS raises an error converting from 1-byte character to PUA. */ diff --git a/sdk/tools/unicode/string.c b/sdk/tools/unicode/string.c index 6b1e145336..09499ea988 100644 --- a/sdk/tools/unicode/string.c +++ b/sdk/tools/unicode/string.c @@ -26,7 +26,9 @@ #define WINE_UNICODE_INLINE /* nothing */ #include "wine/unicode.h"
+#ifdef __REACTOS__ #define min(a,b) (((a) < (b)) ? (a) : (b)) +#endif
int strcmpiW( const WCHAR *str1, const WCHAR *str2 ) { diff --git a/sdk/tools/unicode/utf8.c b/sdk/tools/unicode/utf8.c index 5943ddadd7..f47561e4bf 100644 --- a/sdk/tools/unicode/utf8.c +++ b/sdk/tools/unicode/utf8.c @@ -22,7 +22,7 @@
#include "wine/unicode.h"
-extern WCHAR wine_compose( const WCHAR *str ); +extern WCHAR wine_compose( const WCHAR *str ) DECLSPEC_HIDDEN;
/* number of following bytes in sequence based on first byte value (for bytes above 0x7f) */ static const char utf8_length[128] = diff --git a/sdk/tools/unicode/wctomb.c b/sdk/tools/unicode/wctomb.c index e7f35e5980..65e4aa04f7 100644 --- a/sdk/tools/unicode/wctomb.c +++ b/sdk/tools/unicode/wctomb.c @@ -22,7 +22,7 @@
#include "wine/unicode.h"
-extern WCHAR wine_compose( const WCHAR *str ); +extern WCHAR wine_compose( const WCHAR *str ) DECLSPEC_HIDDEN;
/****************************************************************/ /* sbcs support */ diff --git a/sdk/tools/unicode/wctype.c b/sdk/tools/unicode/wctype.c index 5a79353985..8d0a3ed94d 100644 --- a/sdk/tools/unicode/wctype.c +++ b/sdk/tools/unicode/wctype.c @@ -307,8 +307,8 @@ const unsigned short wine_wctype_table[17152] = 0x2300, 0x2300, 0x2300, 0x2300, 0x2300, 0x2300, 0x2300, 0x2300, 0x2300, 0x2300, 0x2300, 0x2300, 0x2300, 0x2300, 0x2300, 0x2300, 0x2300, 0xd200, 0xd200, 0xd200, 0x0000, 0x0000, 0x2210, 0x0000, - 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, - 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0xc300, 0xc300, 0xc300, 0xc300, 0xc300, 0xc300, 0xc300, 0xc300, + 0xc300, 0xc300, 0xc300, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, @@ -358,7 +358,7 @@ const unsigned short wine_wctype_table[17152] = 0x1300, 0x1300, 0xd200, 0xd200, 0x0000, 0x0000, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1300, 0x1300, 0x5200, 0x5200, 0x1200, 0x1200, 0x1200, 0x1200, - 0x1200, 0x1200, 0x1200, 0x5200, 0x0000, 0x0000, 0x0000, 0x0000, + 0x1200, 0x1200, 0x1200, 0x5200, 0x1300, 0x1210, 0x0000, 0x0000, 0x0000, 0xd200, 0xd200, 0x1200, 0x0000, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x0000, 0x0000, 0x0000, 0x0000, 0x1300, 0x1300, 0x0000, 0x0000, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, @@ -390,7 +390,7 @@ const unsigned short wine_wctype_table[17152] = 0x1300, 0x1300, 0xd200, 0xd200, 0x0000, 0x0000, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1210, 0x5200, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, - 0x0000, 0x1300, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x1300, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0x0000, 0xd200, 0x1200, 0x1200, 0x0000, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x0000, 0x0000, 0x1300, 0x1300, 0x0000, 0x0000, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, @@ -455,14 +455,14 @@ const unsigned short wine_wctype_table[17152] = 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x1204, 0x0000, 0x1300, 0x1300, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, - 0x0000, 0xd200, 0x1200, 0x1200, 0x0000, 0x1300, 0x1300, 0x1300, + 0xd200, 0xd200, 0x1200, 0x1200, 0x0000, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x0000, 0x1300, 0x1300, 0x1300, 0x0000, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, - 0x1300, 0x1300, 0x1300, 0x0000, 0x0000, 0x1300, 0x1200, 0x1200, + 0x1300, 0x1300, 0x1300, 0xd200, 0xd200, 0x1300, 0x1200, 0x1200, 0x1200, 0xd200, 0xd200, 0xd200, 0xd200, 0x0000, 0x1200, 0x1200, 0x1200, 0x0000, 0x1200, 0x1200, 0x1200, 0xd200, 0x1300, 0x1200, 0x0000, 0x0000, 0x0000, 0x0000, 0x1300, 0x1300, 0x1300, 0x1200, @@ -933,7 +933,7 @@ const unsigned short wine_wctype_table[17152] = 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0x1200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0x1300, 0x1300, 0x1300, 0x1300, 0xd200, 0x1300, 0x1300, - 0x1300, 0x1300, 0x1200, 0x1200, 0xd200, 0x1300, 0x1300, 0x0000, + 0x1300, 0x1300, 0x1200, 0x1200, 0xd200, 0x1300, 0x1300, 0x1200, 0xd200, 0xd200, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x1302, 0x1302, 0x1302, 0x1302, 0x1302, 0x1302, 0x1302, 0x1302, 0x1302, 0x1302, 0x1302, 0x1302, 0x1302, 0x1302, 0x1302, 0x1302, @@ -965,8 +965,8 @@ const unsigned short wine_wctype_table[17152] = 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, - 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0x0000, 0x0000, - 0x0000, 0x0000, 0x0000, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, + 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, + 0xd200, 0xd200, 0x0000, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0x1301, 0x1302, 0x1301, 0x1302, 0x1301, 0x1302, 0x1301, 0x1302, 0x1301, 0x1302, 0x1301, 0x1302, 0x1301, 0x1302, 0x1301, 0x1302, 0x1301, 0x1302, 0x1301, 0x1302, 0x1301, 0x1302, 0x1301, 0x1302, @@ -1054,7 +1054,7 @@ const unsigned short wine_wctype_table[17152] = 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, - 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x0000, + 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x5200, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, 0xd200, @@ -1158,7 +1158,7 @@ const unsigned short wine_wctype_table[17152] = 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, - 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0x0000, + 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, @@ -1377,7 +1377,7 @@ const unsigned short wine_wctype_table[17152] = 0xb200, 0xb200, 0x0000, 0x0000, 0x0000, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0x0000, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, 0xb200, - 0xb200, 0xb200, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0xb200, 0xb200, 0xb200, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xb200, 0xb200, 0xb200, 0xb200, @@ -1455,8 +1455,8 @@ const unsigned short wine_wctype_table[17152] = 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb300, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, - 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0x0000, 0x0000, 0x0000, - 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, 0xb210, + 0xb210, 0xb210, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, @@ -1548,7 +1548,7 @@ const unsigned short wine_wctype_table[17152] = 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, - 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x0000, 0x0000, + 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x0000, 0x0000, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, @@ -1697,10 +1697,10 @@ const unsigned short wine_wctype_table[17152] = 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, - 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x0000, 0x0000, - 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, - 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, - 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, + 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, + 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, + 0x1300, 0x1300, 0x1300, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300, 0x1300,