diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-11-02 12:55:46 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-11-02 12:55:46 +0100 |
commit | 90b43902b0e67bcd4c6a5f08d7d76c93df74d4c8 (patch) | |
tree | abea3216f5299f3cb53c92e6a79e37daa883b78a /strings | |
parent | 7714adaef85cb7d83b1624db2198aec40ddefa24 (diff) | |
download | mariadb-git-90b43902b0e67bcd4c6a5f08d7d76c93df74d4c8.tar.gz |
compilation warnings on Windows
Diffstat (limited to 'strings')
-rw-r--r-- | strings/ctype-cp932.c | 16 | ||||
-rw-r--r-- | strings/ctype-eucjpms.c | 26 | ||||
-rw-r--r-- | strings/ctype-gbk.c | 2 |
3 files changed, 22 insertions, 22 deletions
diff --git a/strings/ctype-cp932.c b/strings/ctype-cp932.c index 037d9da7926..88459b87d7e 100644 --- a/strings/ctype-cp932.c +++ b/strings/ctype-cp932.c @@ -197,7 +197,7 @@ static uint mbcharlen_cp932(CHARSET_INFO *cs __attribute__((unused)),uint c) #define cp932code(c,d) ((((uint) (uchar)(c)) << 8) | (uint) (uchar) (d)) -static const MY_UNICASE_INFO c81[256]= +static MY_UNICASE_INFO c81[256]= { /* 8100-810F */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -407,7 +407,7 @@ static const MY_UNICASE_INFO c81[256]= }; -static const MY_UNICASE_INFO c82[256]= +static MY_UNICASE_INFO c82[256]= { /* 8200-820F */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -615,7 +615,7 @@ static const MY_UNICASE_INFO c82[256]= }; -static const MY_UNICASE_INFO c83[256]= +static MY_UNICASE_INFO c83[256]= { /* 8300-830F */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -825,7 +825,7 @@ static const MY_UNICASE_INFO c83[256]= }; -static const MY_UNICASE_INFO c84[256]= +static MY_UNICASE_INFO c84[256]= { /* 8400-840F */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -1035,7 +1035,7 @@ static const MY_UNICASE_INFO c84[256]= }; -static const MY_UNICASE_INFO c87[256]= +static MY_UNICASE_INFO c87[256]= { /* 8700-870F */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -1245,7 +1245,7 @@ static const MY_UNICASE_INFO c87[256]= }; -static const MY_UNICASE_INFO cEE[256]= +static MY_UNICASE_INFO cEE[256]= { /* EE00-EE0F */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -1456,7 +1456,7 @@ static const MY_UNICASE_INFO cEE[256]= }; -static const MY_UNICASE_INFO cFA[256]= +static MY_UNICASE_INFO cFA[256]= { /* FA00-FA0F */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -1666,7 +1666,7 @@ static const MY_UNICASE_INFO cFA[256]= }; -static const MY_UNICASE_INFO *my_caseinfo_cp932[256]= +static MY_UNICASE_INFO *my_caseinfo_cp932[256]= { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 0 */ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, diff --git a/strings/ctype-eucjpms.c b/strings/ctype-eucjpms.c index 5d09c1c9d8d..6d9bbfc0a53 100644 --- a/strings/ctype-eucjpms.c +++ b/strings/ctype-eucjpms.c @@ -204,7 +204,7 @@ static uint mbcharlen_eucjpms(CHARSET_INFO *cs __attribute__((unused)),uint c) /* Case info pages for JIS-X-0208 range */ -static const MY_UNICASE_INFO cA2[256]= +static MY_UNICASE_INFO cA2[256]= { {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, /* xx00 */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -325,7 +325,7 @@ static const MY_UNICASE_INFO cA2[256]= }; -static const MY_UNICASE_INFO cA3[256]= +static MY_UNICASE_INFO cA3[256]= { {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, /* xx00 */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -446,7 +446,7 @@ static const MY_UNICASE_INFO cA3[256]= }; -static const MY_UNICASE_INFO cA6[256]= +static MY_UNICASE_INFO cA6[256]= { {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, /* xx00 */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -567,7 +567,7 @@ static const MY_UNICASE_INFO cA6[256]= }; -static const MY_UNICASE_INFO cA7[256]= +static MY_UNICASE_INFO cA7[256]= { {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, /* xx00 */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -688,7 +688,7 @@ static const MY_UNICASE_INFO cA7[256]= }; -static const MY_UNICASE_INFO cAD[256]= +static MY_UNICASE_INFO cAD[256]= { {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, /* xx00 */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -811,7 +811,7 @@ static const MY_UNICASE_INFO cAD[256]= /* Case info pages for JIS-X-0212 range */ -static const MY_UNICASE_INFO c8FA6[256]= +static MY_UNICASE_INFO c8FA6[256]= { {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, /* xx00 */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -932,7 +932,7 @@ static const MY_UNICASE_INFO c8FA6[256]= }; -static const MY_UNICASE_INFO c8FA7[256]= +static MY_UNICASE_INFO c8FA7[256]= { {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, /* xx00 */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -1053,7 +1053,7 @@ static const MY_UNICASE_INFO c8FA7[256]= }; -static const MY_UNICASE_INFO c8FA9[256]= +static MY_UNICASE_INFO c8FA9[256]= { {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, /* xx00 */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -1174,7 +1174,7 @@ static const MY_UNICASE_INFO c8FA9[256]= }; -static const MY_UNICASE_INFO c8FAA[256]= +static MY_UNICASE_INFO c8FAA[256]= { {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, /* xx00 */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -1295,7 +1295,7 @@ static const MY_UNICASE_INFO c8FAA[256]= }; -static const MY_UNICASE_INFO c8FAB[256]= +static MY_UNICASE_INFO c8FAB[256]= { {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, /* xx00 */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -1416,7 +1416,7 @@ static const MY_UNICASE_INFO c8FAB[256]= }; -static const MY_UNICASE_INFO c8FF3[256]= +static MY_UNICASE_INFO c8FF3[256]= { {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, /* xx00 */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -1537,7 +1537,7 @@ static const MY_UNICASE_INFO c8FF3[256]= }; -static const MY_UNICASE_INFO c8FF4[256]= +static MY_UNICASE_INFO c8FF4[256]= { {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, /* xx00 */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, @@ -1658,7 +1658,7 @@ static const MY_UNICASE_INFO c8FF4[256]= }; -static const MY_UNICASE_INFO *my_caseinfo_eucjpms[512]= +static MY_UNICASE_INFO *my_caseinfo_eucjpms[512]= { /* JIS-X-0208 */ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 0 */ diff --git a/strings/ctype-gbk.c b/strings/ctype-gbk.c index f021c268d0a..bbe7c31c58c 100644 --- a/strings/ctype-gbk.c +++ b/strings/ctype-gbk.c @@ -136,7 +136,7 @@ static const uchar to_upper_gbk[]= (uchar) '\370',(uchar) '\371',(uchar) '\372',(uchar) '\373',(uchar) '\374',(uchar) '\375',(uchar) '\376',(uchar) '\377', }; -static const MY_UNICASE_INFO cA2[256]= +static MY_UNICASE_INFO cA2[256]= { {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, /* xx00 */ {0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0}, |