Merge lp:~atcurtis/maria/maria-5.1-const into lp:~maria-captains/maria/5.1-converting

Proposed by Antony T Curtis
Status: Merged
Merge reported by: Sergei Golubchik
Merged at revision: not available
Proposed branch: lp:~atcurtis/maria/maria-5.1-const
Merge into: lp:~maria-captains/maria/5.1-converting
Diff against target: 11592 lines
35 files modified
include/m_ctype.h (+115/-105)
include/m_string.h (+2/-2)
include/my_sys.h (+2/-2)
mysys/charset-def.c (+38/-37)
mysys/charset.c (+35/-38)
sql/item_cmpfunc.h (+1/-1)
sql/sql_class.cc (+1/-1)
sql/sql_lex.cc (+3/-3)
storage/pbxt/src/datadic_xt.cc (+2/-2)
storage/pbxt/src/ha_pbxt.cc (+1/-1)
storage/pbxt/src/myxt_xt.cc (+1/-1)
storage/pbxt/src/myxt_xt.h (+6/-6)
storage/pbxt/src/xt_defs.h (+2/-2)
strings/conf_to_src.c (+8/-8)
strings/ctype-big5.c (+20/-19)
strings/ctype-bin.c (+5/-4)
strings/ctype-cp932.c (+26/-25)
strings/ctype-czech.c (+18/-17)
strings/ctype-euc_kr.c (+20/-19)
strings/ctype-eucjpms.c (+269/-268)
strings/ctype-extra.c (+320/-320)
strings/ctype-gb2312.c (+20/-19)
strings/ctype-gbk.c (+18/-17)
strings/ctype-latin1.c (+19/-18)
strings/ctype-mb.c (+21/-20)
strings/ctype-simple.c (+26/-19)
strings/ctype-sjis.c (+19/-18)
strings/ctype-tis620.c (+12/-11)
strings/ctype-uca.c (+127/-124)
strings/ctype-ucs2.c (+14/-13)
strings/ctype-ujis.c (+255/-254)
strings/ctype-utf8.c (+31/-32)
strings/ctype-win1250ch.c (+15/-14)
strings/ctype.c (+4/-4)
strings/int2str.c (+2/-2)
To merge this branch: bzr merge lp:~atcurtis/maria/maria-5.1-const
Reviewer Review Type Date Requested Status
Michael Widenius full review Approve
Review via email: mp+14384@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Antony T Curtis (atcurtis) wrote :

Makes CHARSET_INFO a const structure.
Allows compilers to make better choices.

Revision history for this message
Michael Widenius (monty) wrote :

I have now added this to the Maria 5.2 tree. I did this in a patch form instead of with a bk pull, as I did some minor changes (to remove a lot of warnings) and I didn't want to have this in the history.

Will be pushed shortly to main 5.2 branch.

review: Approve (full review)
Revision history for this message
Sergei Golubchik (sergii) wrote :

marked as "merged" as monty added it to 5.2

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'include/m_ctype.h'
2--- include/m_ctype.h 2009-09-07 20:50:10 +0000
3+++ include/m_ctype.h 2009-11-03 19:35:25 +0000
4@@ -38,22 +38,30 @@
5
6 #define my_wc_t ulong
7
8-typedef struct unicase_info_st
9+typedef const struct charset_info_st CHARSET_INFO;
10+typedef const struct my_charset_handler_st MY_CHARSET_HANDLER;
11+typedef const struct my_collation_handler_st MY_COLLATION_HANDLER;
12+
13+typedef const struct unicase_info_st MY_UNICASE_INFO;
14+typedef const struct uni_ctype_st MY_UNI_CTYPE;
15+typedef const struct my_uni_idx_st MY_UNI_IDX;
16+
17+struct unicase_info_st
18 {
19 uint16 toupper;
20 uint16 tolower;
21 uint16 sort;
22-} MY_UNICASE_INFO;
23-
24-
25-extern MY_UNICASE_INFO *my_unicase_default[256];
26-extern MY_UNICASE_INFO *my_unicase_turkish[256];
27-
28-typedef struct uni_ctype_st
29+};
30+
31+
32+extern MY_UNICASE_INFO *const my_unicase_default[256];
33+extern MY_UNICASE_INFO *const my_unicase_turkish[256];
34+
35+struct uni_ctype_st
36 {
37 uchar pctype;
38- uchar *ctype;
39-} MY_UNI_CTYPE;
40+ const uchar *ctype;
41+};
42
43 extern MY_UNI_CTYPE my_uni_ctype[256];
44
45@@ -96,12 +104,12 @@
46 #define MY_REPERTOIRE_UNICODE30 3 /* ASCII | EXTENDED: U+0000..U+FFFF */
47
48
49-typedef struct my_uni_idx_st
50+struct my_uni_idx_st
51 {
52 uint16 from;
53 uint16 to;
54- uchar *tab;
55-} MY_UNI_IDX;
56+ const uchar *tab;
57+};
58
59 typedef struct
60 {
61@@ -130,41 +138,41 @@
62
63
64 /* See strings/CHARSET_INFO.txt for information about this structure */
65-typedef struct my_collation_handler_st
66+struct my_collation_handler_st
67 {
68 my_bool (*init)(struct charset_info_st *, void *(*alloc)(size_t));
69 /* Collation routines */
70- int (*strnncoll)(struct charset_info_st *,
71+ int (*strnncoll)(CHARSET_INFO *,
72 const uchar *, size_t, const uchar *, size_t, my_bool);
73- int (*strnncollsp)(struct charset_info_st *,
74+ int (*strnncollsp)(CHARSET_INFO *,
75 const uchar *, size_t, const uchar *, size_t,
76 my_bool diff_if_only_endspace_difference);
77- size_t (*strnxfrm)(struct charset_info_st *,
78+ size_t (*strnxfrm)(CHARSET_INFO *,
79 uchar *, size_t, const uchar *, size_t);
80- size_t (*strnxfrmlen)(struct charset_info_st *, size_t);
81- my_bool (*like_range)(struct charset_info_st *,
82+ size_t (*strnxfrmlen)(CHARSET_INFO *, size_t);
83+ my_bool (*like_range)(CHARSET_INFO *,
84 const char *s, size_t s_length,
85 pchar w_prefix, pchar w_one, pchar w_many,
86 size_t res_length,
87 char *min_str, char *max_str,
88 size_t *min_len, size_t *max_len);
89- int (*wildcmp)(struct charset_info_st *,
90+ int (*wildcmp)(CHARSET_INFO *,
91 const char *str,const char *str_end,
92 const char *wildstr,const char *wildend,
93 int escape,int w_one, int w_many);
94
95- int (*strcasecmp)(struct charset_info_st *, const char *, const char *);
96+ int (*strcasecmp)(CHARSET_INFO *, const char *, const char *);
97
98- uint (*instr)(struct charset_info_st *,
99+ uint (*instr)(CHARSET_INFO *,
100 const char *b, size_t b_length,
101 const char *s, size_t s_length,
102 my_match_t *match, uint nmatch);
103
104 /* Hash calculation */
105- void (*hash_sort)(struct charset_info_st *cs, const uchar *key, size_t len,
106+ void (*hash_sort)(CHARSET_INFO *cs, const uchar *key, size_t len,
107 ulong *nr1, ulong *nr2);
108- my_bool (*propagate)(struct charset_info_st *cs, const uchar *str, size_t len);
109-} MY_COLLATION_HANDLER;
110+ my_bool (*propagate)(CHARSET_INFO *cs, const uchar *str, size_t len);
111+};
112
113 extern MY_COLLATION_HANDLER my_collation_mb_bin_handler;
114 extern MY_COLLATION_HANDLER my_collation_8bit_bin_handler;
115@@ -172,83 +180,83 @@
116 extern MY_COLLATION_HANDLER my_collation_ucs2_uca_handler;
117
118 /* Some typedef to make it easy for C++ to make function pointers */
119-typedef int (*my_charset_conv_mb_wc)(struct charset_info_st *, my_wc_t *,
120+typedef int (*my_charset_conv_mb_wc)(CHARSET_INFO *, my_wc_t *,
121 const uchar *, const uchar *);
122-typedef int (*my_charset_conv_wc_mb)(struct charset_info_st *, my_wc_t,
123+typedef int (*my_charset_conv_wc_mb)(CHARSET_INFO *, my_wc_t,
124 uchar *, uchar *);
125-typedef size_t (*my_charset_conv_case)(struct charset_info_st *,
126+typedef size_t (*my_charset_conv_case)(CHARSET_INFO *,
127 char *, size_t, char *, size_t);
128
129
130 /* See strings/CHARSET_INFO.txt about information on this structure */
131-typedef struct my_charset_handler_st
132+struct my_charset_handler_st
133 {
134 my_bool (*init)(struct charset_info_st *, void *(*alloc)(size_t));
135 /* Multibyte routines */
136- uint (*ismbchar)(struct charset_info_st *, const char *, const char *);
137- uint (*mbcharlen)(struct charset_info_st *, uint c);
138- size_t (*numchars)(struct charset_info_st *, const char *b, const char *e);
139- size_t (*charpos)(struct charset_info_st *, const char *b, const char *e,
140+ uint (*ismbchar)(CHARSET_INFO *, const char *, const char *);
141+ uint (*mbcharlen)(CHARSET_INFO *, uint c);
142+ size_t (*numchars)(CHARSET_INFO *, const char *b, const char *e);
143+ size_t (*charpos)(CHARSET_INFO *, const char *b, const char *e,
144 size_t pos);
145- size_t (*well_formed_len)(struct charset_info_st *,
146+ size_t (*well_formed_len)(CHARSET_INFO *,
147 const char *b,const char *e,
148 size_t nchars, int *error);
149- size_t (*lengthsp)(struct charset_info_st *, const char *ptr, size_t length);
150- size_t (*numcells)(struct charset_info_st *, const char *b, const char *e);
151+ size_t (*lengthsp)(CHARSET_INFO *, const char *ptr, size_t length);
152+ size_t (*numcells)(CHARSET_INFO *, const char *b, const char *e);
153
154 /* Unicode conversion */
155 my_charset_conv_mb_wc mb_wc;
156 my_charset_conv_wc_mb wc_mb;
157
158 /* CTYPE scanner */
159- int (*ctype)(struct charset_info_st *cs, int *ctype,
160+ int (*ctype)(CHARSET_INFO *cs, int *ctype,
161 const uchar *s, const uchar *e);
162
163 /* Functions for case and sort conversion */
164- size_t (*caseup_str)(struct charset_info_st *, char *);
165- size_t (*casedn_str)(struct charset_info_st *, char *);
166+ size_t (*caseup_str)(CHARSET_INFO *, char *);
167+ size_t (*casedn_str)(CHARSET_INFO *, char *);
168
169 my_charset_conv_case caseup;
170 my_charset_conv_case casedn;
171
172 /* Charset dependant snprintf() */
173- size_t (*snprintf)(struct charset_info_st *, char *to, size_t n,
174+ size_t (*snprintf)(CHARSET_INFO *, char *to, size_t n,
175 const char *fmt,
176 ...) ATTRIBUTE_FORMAT_FPTR(printf, 4, 5);
177- size_t (*long10_to_str)(struct charset_info_st *, char *to, size_t n,
178+ size_t (*long10_to_str)(CHARSET_INFO *, char *to, size_t n,
179 int radix, long int val);
180- size_t (*longlong10_to_str)(struct charset_info_st *, char *to, size_t n,
181+ size_t (*longlong10_to_str)(CHARSET_INFO *, char *to, size_t n,
182 int radix, longlong val);
183
184- void (*fill)(struct charset_info_st *, char *to, size_t len, int fill);
185+ void (*fill)(CHARSET_INFO *, char *to, size_t len, int fill);
186
187 /* String-to-number conversion routines */
188- long (*strntol)(struct charset_info_st *, const char *s, size_t l,
189- int base, char **e, int *err);
190- ulong (*strntoul)(struct charset_info_st *, const char *s, size_t l,
191- int base, char **e, int *err);
192- longlong (*strntoll)(struct charset_info_st *, const char *s, size_t l,
193- int base, char **e, int *err);
194- ulonglong (*strntoull)(struct charset_info_st *, const char *s, size_t l,
195- int base, char **e, int *err);
196- double (*strntod)(struct charset_info_st *, char *s, size_t l, char **e,
197+ long (*strntol)(CHARSET_INFO *, const char *s, size_t l,
198+ int base, char **e, int *err);
199+ ulong (*strntoul)(CHARSET_INFO *, const char *s, size_t l,
200+ int base, char **e, int *err);
201+ longlong (*strntoll)(CHARSET_INFO *, const char *s, size_t l,
202+ int base, char **e, int *err);
203+ ulonglong (*strntoull)(CHARSET_INFO *, const char *s, size_t l,
204+ int base, char **e, int *err);
205+ double (*strntod)(CHARSET_INFO *, char *s, size_t l, char **e,
206 int *err);
207- longlong (*strtoll10)(struct charset_info_st *cs,
208+ longlong (*strtoll10)(CHARSET_INFO *cs,
209 const char *nptr, char **endptr, int *error);
210- ulonglong (*strntoull10rnd)(struct charset_info_st *cs,
211+ ulonglong (*strntoull10rnd)(CHARSET_INFO *cs,
212 const char *str, size_t length,
213 int unsigned_fl,
214 char **endptr, int *error);
215- size_t (*scan)(struct charset_info_st *, const char *b, const char *e,
216+ size_t (*scan)(CHARSET_INFO *, const char *b, const char *e,
217 int sq);
218-} MY_CHARSET_HANDLER;
219+};
220
221 extern MY_CHARSET_HANDLER my_charset_8bit_handler;
222 extern MY_CHARSET_HANDLER my_charset_ucs2_handler;
223
224
225 /* See strings/CHARSET_INFO.txt about information on this structure */
226-typedef struct charset_info_st
227+struct charset_info_st
228 {
229 uint number;
230 uint primary_number;
231@@ -258,17 +266,17 @@
232 const char *name;
233 const char *comment;
234 const char *tailoring;
235- uchar *ctype;
236- uchar *to_lower;
237- uchar *to_upper;
238- uchar *sort_order;
239- uint16 *contractions;
240- uint16 **sort_order_big;
241- uint16 *tab_to_uni;
242+ const uchar *ctype;
243+ const uchar *to_lower;
244+ const uchar *to_upper;
245+ const uchar *sort_order;
246+ const uint16 *contractions;
247+ const uint16 *const *sort_order_big;
248+ const uint16 *tab_to_uni;
249 MY_UNI_IDX *tab_from_uni;
250- MY_UNICASE_INFO **caseinfo;
251- uchar *state_map;
252- uchar *ident_map;
253+ MY_UNICASE_INFO *const *caseinfo;
254+ const uchar *state_map;
255+ const uchar *ident_map;
256 uint strxfrm_multiply;
257 uchar caseup_multiply;
258 uchar casedn_multiply;
259@@ -282,41 +290,43 @@
260 MY_CHARSET_HANDLER *cset;
261 MY_COLLATION_HANDLER *coll;
262
263-} CHARSET_INFO;
264+};
265 #define ILLEGAL_CHARSET_INFO_NUMBER (~0U)
266
267-
268-extern MYSQL_PLUGIN_IMPORT CHARSET_INFO my_charset_bin;
269-extern CHARSET_INFO my_charset_big5_chinese_ci;
270-extern CHARSET_INFO my_charset_big5_bin;
271-extern CHARSET_INFO my_charset_cp932_japanese_ci;
272-extern CHARSET_INFO my_charset_cp932_bin;
273-extern CHARSET_INFO my_charset_eucjpms_japanese_ci;
274-extern CHARSET_INFO my_charset_eucjpms_bin;
275-extern CHARSET_INFO my_charset_euckr_korean_ci;
276-extern CHARSET_INFO my_charset_euckr_bin;
277-extern CHARSET_INFO my_charset_gb2312_chinese_ci;
278-extern CHARSET_INFO my_charset_gb2312_bin;
279-extern CHARSET_INFO my_charset_gbk_chinese_ci;
280-extern CHARSET_INFO my_charset_gbk_bin;
281-extern MYSQL_PLUGIN_IMPORT CHARSET_INFO my_charset_latin1;
282-extern CHARSET_INFO my_charset_latin1_german2_ci;
283-extern CHARSET_INFO my_charset_latin1_bin;
284-extern CHARSET_INFO my_charset_latin2_czech_ci;
285-extern CHARSET_INFO my_charset_sjis_japanese_ci;
286-extern CHARSET_INFO my_charset_sjis_bin;
287-extern CHARSET_INFO my_charset_tis620_thai_ci;
288-extern CHARSET_INFO my_charset_tis620_bin;
289-extern CHARSET_INFO my_charset_ucs2_general_ci;
290-extern CHARSET_INFO my_charset_ucs2_bin;
291-extern CHARSET_INFO my_charset_ucs2_unicode_ci;
292-extern CHARSET_INFO my_charset_ujis_japanese_ci;
293-extern CHARSET_INFO my_charset_ujis_bin;
294-extern CHARSET_INFO my_charset_utf8_general_ci;
295-extern CHARSET_INFO my_charset_utf8_unicode_ci;
296-extern CHARSET_INFO my_charset_utf8_bin;
297-extern CHARSET_INFO my_charset_cp1250_czech_ci;
298-extern MYSQL_PLUGIN_IMPORT CHARSET_INFO my_charset_filename;
299+#ifndef CHARSET_EXTERN
300+#define CHARSET_EXTERN MYSQL_PLUGIN_IMPORT CHARSET_INFO
301+#endif
302+extern CHARSET_EXTERN my_charset_bin;
303+extern CHARSET_EXTERN my_charset_big5_chinese_ci;
304+extern CHARSET_EXTERN my_charset_big5_bin;
305+extern CHARSET_EXTERN my_charset_cp932_japanese_ci;
306+extern CHARSET_EXTERN my_charset_cp932_bin;
307+extern CHARSET_EXTERN my_charset_eucjpms_japanese_ci;
308+extern CHARSET_EXTERN my_charset_eucjpms_bin;
309+extern CHARSET_EXTERN my_charset_euckr_korean_ci;
310+extern CHARSET_EXTERN my_charset_euckr_bin;
311+extern CHARSET_EXTERN my_charset_gb2312_chinese_ci;
312+extern CHARSET_EXTERN my_charset_gb2312_bin;
313+extern CHARSET_EXTERN my_charset_gbk_chinese_ci;
314+extern CHARSET_EXTERN my_charset_gbk_bin;
315+extern CHARSET_EXTERN my_charset_latin1;
316+extern CHARSET_EXTERN my_charset_latin1_german2_ci;
317+extern CHARSET_EXTERN my_charset_latin1_bin;
318+extern CHARSET_EXTERN my_charset_latin2_czech_ci;
319+extern CHARSET_EXTERN my_charset_sjis_japanese_ci;
320+extern CHARSET_EXTERN my_charset_sjis_bin;
321+extern CHARSET_EXTERN my_charset_tis620_thai_ci;
322+extern CHARSET_EXTERN my_charset_tis620_bin;
323+extern CHARSET_EXTERN my_charset_ucs2_general_ci;
324+extern CHARSET_EXTERN my_charset_ucs2_bin;
325+extern CHARSET_EXTERN my_charset_ucs2_unicode_ci;
326+extern CHARSET_EXTERN my_charset_ujis_japanese_ci;
327+extern CHARSET_EXTERN my_charset_ujis_bin;
328+extern CHARSET_EXTERN my_charset_utf8_general_ci;
329+extern CHARSET_EXTERN my_charset_utf8_unicode_ci;
330+extern CHARSET_EXTERN my_charset_utf8_bin;
331+extern CHARSET_EXTERN my_charset_cp1250_czech_ci;
332+extern CHARSET_EXTERN my_charset_filename;
333
334 /* declarations for simple charsets */
335 extern size_t my_strnxfrm_simple(CHARSET_INFO *, uchar *, size_t,
336@@ -335,7 +345,7 @@
337
338 extern size_t my_lengthsp_8bit(CHARSET_INFO *cs, const char *ptr, size_t length);
339
340-extern uint my_instr_simple(struct charset_info_st *,
341+extern uint my_instr_simple(CHARSET_INFO *,
342 const char *b, size_t b_length,
343 const char *s, size_t s_length,
344 my_match_t *match, uint nmatch);
345@@ -359,7 +369,7 @@
346
347 size_t my_scan_8bit(CHARSET_INFO *cs, const char *b, const char *e, int sq);
348
349-size_t my_snprintf_8bit(struct charset_info_st *, char *to, size_t n,
350+size_t my_snprintf_8bit(CHARSET_INFO *, char *to, size_t n,
351 const char *fmt, ...)
352 ATTRIBUTE_FORMAT(printf, 4, 5);
353
354@@ -450,7 +460,7 @@
355 size_t my_charpos_mb(CHARSET_INFO *, const char *b, const char *e, size_t pos);
356 size_t my_well_formed_len_mb(CHARSET_INFO *, const char *b, const char *e,
357 size_t pos, int *error);
358-uint my_instr_mb(struct charset_info_st *,
359+uint my_instr_mb(CHARSET_INFO *,
360 const char *b, size_t b_length,
361 const char *s, size_t s_length,
362 my_match_t *match, uint nmatch);
363@@ -459,10 +469,10 @@
364 const char *str, const char *str_end,
365 const char *wildstr, const char *wildend,
366 int escape, int w_one, int w_many,
367- MY_UNICASE_INFO **weights);
368+ MY_UNICASE_INFO *const *weights);
369
370 extern my_bool my_parse_charset_xml(const char *bug, size_t len,
371- int (*add)(CHARSET_INFO *cs));
372+ int (*add)(struct charset_info_st *cs));
373 extern char *my_strchr(CHARSET_INFO *cs, const char *str, const char *end,
374 pchar c);
375
376
377=== modified file 'include/m_string.h'
378--- include/m_string.h 2009-08-13 21:12:12 +0000
379+++ include/m_string.h 2009-11-03 19:35:25 +0000
380@@ -89,8 +89,8 @@
381 #endif
382
383 /* Declared in int2str() */
384-extern char NEAR _dig_vec_upper[];
385-extern char NEAR _dig_vec_lower[];
386+extern const char NEAR _dig_vec_upper[];
387+extern const char NEAR _dig_vec_lower[];
388
389 /* Defined in strtod.c */
390 extern const double log_10[309];
391
392=== modified file 'include/my_sys.h'
393--- include/my_sys.h 2009-09-07 20:50:10 +0000
394+++ include/my_sys.h 2009-11-03 19:35:25 +0000
395@@ -231,7 +231,7 @@
396 /* charsets */
397 extern MYSQL_PLUGIN_IMPORT CHARSET_INFO *default_charset_info;
398 extern MYSQL_PLUGIN_IMPORT CHARSET_INFO *all_charsets[256];
399-extern CHARSET_INFO compiled_charsets[];
400+extern struct charset_info_st compiled_charsets[];
401
402 /* statistics */
403 extern ulong my_file_opened,my_stream_opened, my_tmp_file_created;
404@@ -992,7 +992,7 @@
405 extern char *get_charsets_dir(char *buf);
406 extern my_bool my_charset_same(CHARSET_INFO *cs1, CHARSET_INFO *cs2);
407 extern my_bool init_compiled_charsets(myf flags);
408-extern void add_compiled_collation(CHARSET_INFO *cs);
409+extern void add_compiled_collation(struct charset_info_st *cs);
410 extern size_t escape_string_for_mysql(CHARSET_INFO *charset_info,
411 char *to, size_t to_length,
412 const char *from, size_t length);
413
414=== modified file 'mysys/charset-def.c'
415--- mysys/charset-def.c 2007-06-21 20:10:40 +0000
416+++ mysys/charset-def.c 2009-11-03 19:35:25 +0000
417@@ -13,6 +13,7 @@
418 along with this program; if not, write to the Free Software
419 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
420
421+#define CHARSET_EXTERN MYSQL_PLUGIN_IMPORT struct charset_info_st
422 #include "mysys_priv.h"
423
424 /*
425@@ -24,47 +25,47 @@
426 #ifdef HAVE_UCA_COLLATIONS
427
428 #ifdef HAVE_CHARSET_ucs2
429-extern CHARSET_INFO my_charset_ucs2_icelandic_uca_ci;
430-extern CHARSET_INFO my_charset_ucs2_latvian_uca_ci;
431-extern CHARSET_INFO my_charset_ucs2_romanian_uca_ci;
432-extern CHARSET_INFO my_charset_ucs2_slovenian_uca_ci;
433-extern CHARSET_INFO my_charset_ucs2_polish_uca_ci;
434-extern CHARSET_INFO my_charset_ucs2_estonian_uca_ci;
435-extern CHARSET_INFO my_charset_ucs2_spanish_uca_ci;
436-extern CHARSET_INFO my_charset_ucs2_swedish_uca_ci;
437-extern CHARSET_INFO my_charset_ucs2_turkish_uca_ci;
438-extern CHARSET_INFO my_charset_ucs2_czech_uca_ci;
439-extern CHARSET_INFO my_charset_ucs2_danish_uca_ci;
440-extern CHARSET_INFO my_charset_ucs2_lithuanian_uca_ci;
441-extern CHARSET_INFO my_charset_ucs2_slovak_uca_ci;
442-extern CHARSET_INFO my_charset_ucs2_spanish2_uca_ci;
443-extern CHARSET_INFO my_charset_ucs2_roman_uca_ci;
444-extern CHARSET_INFO my_charset_ucs2_persian_uca_ci;
445-extern CHARSET_INFO my_charset_ucs2_esperanto_uca_ci;
446-extern CHARSET_INFO my_charset_ucs2_hungarian_uca_ci;
447+extern struct charset_info_st my_charset_ucs2_icelandic_uca_ci;
448+extern struct charset_info_st my_charset_ucs2_latvian_uca_ci;
449+extern struct charset_info_st my_charset_ucs2_romanian_uca_ci;
450+extern struct charset_info_st my_charset_ucs2_slovenian_uca_ci;
451+extern struct charset_info_st my_charset_ucs2_polish_uca_ci;
452+extern struct charset_info_st my_charset_ucs2_estonian_uca_ci;
453+extern struct charset_info_st my_charset_ucs2_spanish_uca_ci;
454+extern struct charset_info_st my_charset_ucs2_swedish_uca_ci;
455+extern struct charset_info_st my_charset_ucs2_turkish_uca_ci;
456+extern struct charset_info_st my_charset_ucs2_czech_uca_ci;
457+extern struct charset_info_st my_charset_ucs2_danish_uca_ci;
458+extern struct charset_info_st my_charset_ucs2_lithuanian_uca_ci;
459+extern struct charset_info_st my_charset_ucs2_slovak_uca_ci;
460+extern struct charset_info_st my_charset_ucs2_spanish2_uca_ci;
461+extern struct charset_info_st my_charset_ucs2_roman_uca_ci;
462+extern struct charset_info_st my_charset_ucs2_persian_uca_ci;
463+extern struct charset_info_st my_charset_ucs2_esperanto_uca_ci;
464+extern struct charset_info_st my_charset_ucs2_hungarian_uca_ci;
465 #endif
466
467 #ifdef HAVE_CHARSET_utf8
468-extern CHARSET_INFO my_charset_utf8_icelandic_uca_ci;
469-extern CHARSET_INFO my_charset_utf8_latvian_uca_ci;
470-extern CHARSET_INFO my_charset_utf8_romanian_uca_ci;
471-extern CHARSET_INFO my_charset_utf8_slovenian_uca_ci;
472-extern CHARSET_INFO my_charset_utf8_polish_uca_ci;
473-extern CHARSET_INFO my_charset_utf8_estonian_uca_ci;
474-extern CHARSET_INFO my_charset_utf8_spanish_uca_ci;
475-extern CHARSET_INFO my_charset_utf8_swedish_uca_ci;
476-extern CHARSET_INFO my_charset_utf8_turkish_uca_ci;
477-extern CHARSET_INFO my_charset_utf8_czech_uca_ci;
478-extern CHARSET_INFO my_charset_utf8_danish_uca_ci;
479-extern CHARSET_INFO my_charset_utf8_lithuanian_uca_ci;
480-extern CHARSET_INFO my_charset_utf8_slovak_uca_ci;
481-extern CHARSET_INFO my_charset_utf8_spanish2_uca_ci;
482-extern CHARSET_INFO my_charset_utf8_roman_uca_ci;
483-extern CHARSET_INFO my_charset_utf8_persian_uca_ci;
484-extern CHARSET_INFO my_charset_utf8_esperanto_uca_ci;
485-extern CHARSET_INFO my_charset_utf8_hungarian_uca_ci;
486+extern struct charset_info_st my_charset_utf8_icelandic_uca_ci;
487+extern struct charset_info_st my_charset_utf8_latvian_uca_ci;
488+extern struct charset_info_st my_charset_utf8_romanian_uca_ci;
489+extern struct charset_info_st my_charset_utf8_slovenian_uca_ci;
490+extern struct charset_info_st my_charset_utf8_polish_uca_ci;
491+extern struct charset_info_st my_charset_utf8_estonian_uca_ci;
492+extern struct charset_info_st my_charset_utf8_spanish_uca_ci;
493+extern struct charset_info_st my_charset_utf8_swedish_uca_ci;
494+extern struct charset_info_st my_charset_utf8_turkish_uca_ci;
495+extern struct charset_info_st my_charset_utf8_czech_uca_ci;
496+extern struct charset_info_st my_charset_utf8_danish_uca_ci;
497+extern struct charset_info_st my_charset_utf8_lithuanian_uca_ci;
498+extern struct charset_info_st my_charset_utf8_slovak_uca_ci;
499+extern struct charset_info_st my_charset_utf8_spanish2_uca_ci;
500+extern struct charset_info_st my_charset_utf8_roman_uca_ci;
501+extern struct charset_info_st my_charset_utf8_persian_uca_ci;
502+extern struct charset_info_st my_charset_utf8_esperanto_uca_ci;
503+extern struct charset_info_st my_charset_utf8_hungarian_uca_ci;
504 #ifdef HAVE_UTF8_GENERAL_CS
505-extern CHARSET_INFO my_charset_utf8_general_cs;
506+extern struct charset_info_st my_charset_utf8_general_cs;
507 #endif
508 #endif
509
510
511=== modified file 'mysys/charset.c'
512--- mysys/charset.c 2009-09-07 20:50:10 +0000
513+++ mysys/charset.c 2009-11-03 19:35:25 +0000
514@@ -53,21 +53,18 @@
515 }
516
517
518-static my_bool init_state_maps(CHARSET_INFO *cs)
519+static my_bool init_state_maps(struct charset_info_st *cs)
520 {
521 uint i;
522 uchar *state_map;
523 uchar *ident_map;
524
525- if (!(cs->state_map= (uchar*) my_once_alloc(256, MYF(MY_WME))))
526+ if (!(cs->state_map= state_map= (uchar*) my_once_alloc(256, MYF(MY_WME))))
527 return 1;
528
529- if (!(cs->ident_map= (uchar*) my_once_alloc(256, MYF(MY_WME))))
530+ if (!(cs->ident_map= ident_map= (uchar*) my_once_alloc(256, MYF(MY_WME))))
531 return 1;
532
533- state_map= cs->state_map;
534- ident_map= cs->ident_map;
535-
536 /* Fill state_map with states to get a faster parser */
537 for (i=0; i < 256 ; i++)
538 {
539@@ -118,7 +115,7 @@
540 }
541
542
543-static void simple_cs_init_functions(CHARSET_INFO *cs)
544+static void simple_cs_init_functions(struct charset_info_st *cs)
545 {
546 if (cs->state & MY_CS_BINSORT)
547 cs->coll= &my_collation_8bit_bin_handler;
548@@ -130,7 +127,7 @@
549
550
551
552-static int cs_copy_data(CHARSET_INFO *to, CHARSET_INFO *from)
553+static int cs_copy_data(struct charset_info_st *to, CHARSET_INFO *from)
554 {
555 to->number= from->number ? from->number : to->number;
556
557@@ -203,7 +200,7 @@
558
559
560 static void
561-copy_uca_collation(CHARSET_INFO *to, CHARSET_INFO *from)
562+copy_uca_collation(struct charset_info_st *to, CHARSET_INFO *from)
563 {
564 to->cset= from->cset;
565 to->coll= from->coll;
566@@ -217,17 +214,18 @@
567 }
568
569
570-static int add_collation(CHARSET_INFO *cs)
571+static int add_collation(struct charset_info_st *cs)
572 {
573 if (cs->name && (cs->number ||
574 (cs->number=get_collation_number_internal(cs->name))))
575 {
576- if (!all_charsets[cs->number])
577+ struct charset_info_st *newcs;
578+ if (!(newcs= (struct charset_info_st*) all_charsets[cs->number]))
579 {
580- if (!(all_charsets[cs->number]=
581- (CHARSET_INFO*) my_once_alloc(sizeof(CHARSET_INFO),MYF(0))))
582+ if (!(all_charsets[cs->number]= newcs=
583+ (struct charset_info_st*) my_once_alloc(sizeof(CHARSET_INFO),MYF(0))))
584 return MY_XML_ERROR;
585- bzero((void*)all_charsets[cs->number],sizeof(CHARSET_INFO));
586+ bzero(newcs,sizeof(CHARSET_INFO));
587 }
588
589 if (cs->primary_number == cs->number)
590@@ -236,12 +234,11 @@
591 if (cs->binary_number == cs->number)
592 cs->state |= MY_CS_BINSORT;
593
594- all_charsets[cs->number]->state|= cs->state;
595+ newcs->state|= cs->state;
596
597- if (!(all_charsets[cs->number]->state & MY_CS_COMPILED))
598+ if (!(newcs->state & MY_CS_COMPILED))
599 {
600- CHARSET_INFO *newcs= all_charsets[cs->number];
601- if (cs_copy_data(all_charsets[cs->number],cs))
602+ if (cs_copy_data(newcs,cs))
603 return MY_XML_ERROR;
604
605 if (!strcmp(cs->csname,"ucs2") )
606@@ -259,15 +256,15 @@
607 }
608 else
609 {
610- uchar *sort_order= all_charsets[cs->number]->sort_order;
611- simple_cs_init_functions(all_charsets[cs->number]);
612+ const uchar *sort_order= newcs->sort_order;
613+ simple_cs_init_functions(newcs);
614 newcs->mbminlen= 1;
615 newcs->mbmaxlen= 1;
616- if (simple_cs_is_full(all_charsets[cs->number]))
617+ if (simple_cs_is_full(newcs))
618 {
619- all_charsets[cs->number]->state |= MY_CS_LOADED;
620+ newcs->state |= MY_CS_LOADED;
621 }
622- all_charsets[cs->number]->state|= MY_CS_AVAILABLE;
623+ newcs->state|= MY_CS_AVAILABLE;
624
625 /*
626 Check if case sensitive sort order: A < a < B.
627@@ -277,12 +274,12 @@
628 */
629 if (sort_order && sort_order['A'] < sort_order['a'] &&
630 sort_order['a'] < sort_order['B'])
631- all_charsets[cs->number]->state|= MY_CS_CSSORT;
632+ newcs->state|= MY_CS_CSSORT;
633
634- if (my_charset_is_8bit_pure_ascii(all_charsets[cs->number]))
635- all_charsets[cs->number]->state|= MY_CS_PUREASCII;
636+ if (my_charset_is_8bit_pure_ascii(newcs))
637+ newcs->state|= MY_CS_PUREASCII;
638 if (!my_charset_is_ascii_compatible(cs))
639- all_charsets[cs->number]->state|= MY_CS_NONASCII;
640+ newcs->state|= MY_CS_NONASCII;
641 }
642 }
643 else
644@@ -296,16 +293,15 @@
645 If a character set was compiled, this information
646 will get lost and overwritten in add_compiled_collation().
647 */
648- CHARSET_INFO *dst= all_charsets[cs->number];
649- dst->number= cs->number;
650+ newcs->number= cs->number;
651 if (cs->comment)
652- if (!(dst->comment= my_once_strdup(cs->comment,MYF(MY_WME))))
653+ if (!(newcs->comment= my_once_strdup(cs->comment,MYF(MY_WME))))
654 return MY_XML_ERROR;
655 if (cs->csname)
656- if (!(dst->csname= my_once_strdup(cs->csname,MYF(MY_WME))))
657+ if (!(newcs->csname= my_once_strdup(cs->csname,MYF(MY_WME))))
658 return MY_XML_ERROR;
659 if (cs->name)
660- if (!(dst->name= my_once_strdup(cs->name,MYF(MY_WME))))
661+ if (!(newcs->name= my_once_strdup(cs->name,MYF(MY_WME))))
662 return MY_XML_ERROR;
663 }
664 cs->number= 0;
665@@ -390,7 +386,7 @@
666 CHARSET_INFO *all_charsets[256]={NULL};
667 CHARSET_INFO *default_charset_info = &my_charset_latin1;
668
669-void add_compiled_collation(CHARSET_INFO *cs)
670+void add_compiled_collation(struct charset_info_st *cs)
671 {
672 all_charsets[cs->number]= cs;
673 cs->state|= MY_CS_AVAILABLE;
674@@ -416,7 +412,7 @@
675 */
676 if (!charset_initialized)
677 {
678- CHARSET_INFO **cs;
679+ struct charset_info_st **cs;
680 /*
681 To make things thread safe we are not allowing other threads to interfere
682 while we may changing the cs_info_table
683@@ -428,8 +424,9 @@
684 init_compiled_charsets(myflags);
685
686 /* Copy compiled charsets */
687- for (cs=all_charsets;
688- cs < all_charsets+array_elements(all_charsets)-1 ;
689+ for (cs= (struct charset_info_st**) all_charsets;
690+ cs < (struct charset_info_st**) all_charsets +
691+ array_elements(all_charsets)-1 ;
692 cs++)
693 {
694 if (*cs)
695@@ -496,9 +493,9 @@
696 static CHARSET_INFO *get_internal_charset(uint cs_number, myf flags)
697 {
698 char buf[FN_REFLEN];
699- CHARSET_INFO *cs;
700+ struct charset_info_st *cs;
701
702- if ((cs= all_charsets[cs_number]))
703+ if ((cs= (struct charset_info_st*) all_charsets[cs_number]))
704 {
705 if (cs->state & MY_CS_READY) /* if CS is already initialized */
706 return cs;
707
708=== modified file 'sql/item_cmpfunc.h'
709--- sql/item_cmpfunc.h 2009-08-20 15:51:02 +0000
710+++ sql/item_cmpfunc.h 2009-11-03 19:35:25 +0000
711@@ -756,7 +756,7 @@
712 virtual uchar *get_value(Item *item)=0;
713 void sort()
714 {
715- my_qsort2(base,used_count,size,compare,collation);
716+ my_qsort2(base,used_count,size,compare,(void*)collation);
717 }
718 int find(Item *item);
719
720
721=== modified file 'sql/sql_class.cc'
722--- sql/sql_class.cc 2009-09-15 10:46:35 +0000
723+++ sql/sql_class.cc 2009-11-03 19:35:25 +0000
724@@ -3003,7 +3003,7 @@
725
726
727 #ifdef INNODB_COMPATIBILITY_HOOKS
728-extern "C" struct charset_info_st *thd_charset(MYSQL_THD thd)
729+extern "C" const struct charset_info_st *thd_charset(MYSQL_THD thd)
730 {
731 return(thd->charset());
732 }
733
734=== modified file 'sql/sql_lex.cc'
735--- sql/sql_lex.cc 2009-09-15 10:46:35 +0000
736+++ sql/sql_lex.cc 2009-11-03 19:35:25 +0000
737@@ -789,9 +789,9 @@
738 Lex_input_stream *lip= & thd->m_parser_state->m_lip;
739 LEX *lex= thd->lex;
740 YYSTYPE *yylval=(YYSTYPE*) arg;
741- CHARSET_INFO *cs= thd->charset();
742- uchar *state_map= cs->state_map;
743- uchar *ident_map= cs->ident_map;
744+ CHARSET_INFO *const cs= thd->charset();
745+ const uchar *const state_map= cs->state_map;
746+ const uchar *const ident_map= cs->ident_map;
747
748 LINT_INIT(c);
749 lip->yylval=yylval; // The global state
750
751=== modified file 'storage/pbxt/src/datadic_xt.cc'
752--- storage/pbxt/src/datadic_xt.cc 2009-08-18 07:46:53 +0000
753+++ storage/pbxt/src/datadic_xt.cc 2009-11-03 19:35:25 +0000
754@@ -396,7 +396,7 @@
755 struct charset_info_st;
756
757 class XTTokenizer {
758- struct charset_info_st *tkn_charset;
759+ const struct charset_info_st *tkn_charset;
760 char *tkn_cstring;
761 char *tkn_curr_pos;
762 XTToken *tkn_current;
763@@ -1329,7 +1329,7 @@
764 class XTCreateTable : public XTParseTable {
765 public:
766 bool ct_convert;
767- struct charset_info_st *ct_charset;
768+ const struct charset_info_st *ct_charset;
769 XTPathStrPtr ct_tab_path;
770 u_int ct_contraint_no;
771 XTDDTable *ct_curr_table;
772
773=== modified file 'storage/pbxt/src/ha_pbxt.cc'
774--- storage/pbxt/src/ha_pbxt.cc 2009-09-03 06:15:03 +0000
775+++ storage/pbxt/src/ha_pbxt.cc 2009-11-03 19:35:25 +0000
776@@ -1675,7 +1675,7 @@
777 if (!(self = ha_set_current_thread(thd, &err)))
778 return xt_ha_pbxt_to_mysql_error(err);
779 try_(a) {
780- err = myxt_statistics_fill_table(self, thd, tables, cond, system_charset_info);
781+ err = myxt_statistics_fill_table(self, thd, tables, cond, (void*) system_charset_info);
782 }
783 catch_(a) {
784 err = xt_ha_pbxt_thread_error_for_mysql(thd, self, FALSE);
785
786=== modified file 'storage/pbxt/src/myxt_xt.cc'
787--- storage/pbxt/src/myxt_xt.cc 2009-09-03 06:15:03 +0000
788+++ storage/pbxt/src/myxt_xt.cc 2009-11-03 19:35:25 +0000
789@@ -36,7 +36,7 @@
790 #include <drizzled/current_session.h>
791 #include <drizzled/sql_lex.h>
792 #include <drizzled/session.h>
793-extern "C" struct charset_info_st *session_charset(Session *session);
794+extern "C" const struct charset_info_st *session_charset(Session *session);
795 extern pthread_key_t THR_Session;
796 #else
797 #include "mysql_priv.h"
798
799=== modified file 'storage/pbxt/src/myxt_xt.h'
800--- storage/pbxt/src/myxt_xt.h 2009-09-03 06:15:03 +0000
801+++ storage/pbxt/src/myxt_xt.h 2009-11-03 19:35:25 +0000
802@@ -67,17 +67,17 @@
803 void myxt_move_dictionary(XTDictionaryPtr dic, XTDictionaryPtr source_dic);
804 XTDDTable *myxt_create_table_from_table(XTThreadPtr self, STRUCT_TABLE *my_tab);
805
806-void myxt_static_convert_identifier(XTThreadPtr self, struct charset_info_st *cs, char *from, char *to, size_t to_len);
807-char *myxt_convert_identifier(XTThreadPtr self, struct charset_info_st *cs, char *from);
808+void myxt_static_convert_identifier(XTThreadPtr self, const struct charset_info_st *cs, char *from, char *to, size_t to_len);
809+char *myxt_convert_identifier(XTThreadPtr self, const struct charset_info_st *cs, char *from);
810 void myxt_static_convert_table_name(XTThreadPtr self, char *from, char *to, size_t to_len);
811 void myxt_static_convert_file_name(char *from, char *to, size_t to_len);
812 char *myxt_convert_table_name(XTThreadPtr self, char *from);
813 int myxt_strcasecmp(char * a, char *b);
814-int myxt_isspace(struct charset_info_st *cs, char a);
815-int myxt_ispunct(struct charset_info_st *cs, char a);
816-int myxt_isdigit(struct charset_info_st *cs, char a);
817+int myxt_isspace(const struct charset_info_st *cs, char a);
818+int myxt_ispunct(const struct charset_info_st *cs, char a);
819+int myxt_isdigit(const struct charset_info_st *cs, char a);
820
821-struct charset_info_st *myxt_getcharset(bool convert);
822+const struct charset_info_st *myxt_getcharset(bool convert);
823
824 void *myxt_create_thread();
825 void myxt_destroy_thread(void *thread, xtBool end_threads);
826
827=== modified file 'storage/pbxt/src/xt_defs.h'
828--- storage/pbxt/src/xt_defs.h 2009-08-17 11:12:36 +0000
829+++ storage/pbxt/src/xt_defs.h 2009-11-03 19:35:25 +0000
830@@ -759,7 +759,7 @@
831 #define MX_ULONG_T uint32_t
832 #define MX_ULONGLONG_T uint64_t
833 #define MX_LONGLONG_T uint64_t
834-#define MX_CHARSET_INFO struct charset_info_st
835+#define MX_CHARSET_INFO const struct charset_info_st
836 #define MX_CONST_CHARSET_INFO const struct charset_info_st
837 #define MX_CONST const
838
839@@ -842,7 +842,7 @@
840 #define MX_ULONGLONG_T ulonglong
841 #define MX_LONGLONG_T longlong
842 #define MX_CHARSET_INFO CHARSET_INFO
843-#define MX_CONST_CHARSET_INFO struct charset_info_st
844+#define MX_CONST_CHARSET_INFO const struct charset_info_st
845 #define MX_CONST
846
847 #endif // DRIZZLED
848
849=== modified file 'strings/conf_to_src.c'
850--- strings/conf_to_src.c 2009-07-02 10:15:33 +0000
851+++ strings/conf_to_src.c 2009-11-03 19:35:25 +0000
852@@ -23,15 +23,15 @@
853 #define ROW16_LEN 8
854 #define MAX_BUF 64*1024
855
856-static CHARSET_INFO all_charsets[256];
857+static struct charset_info_st all_charsets[256];
858
859
860 void
861-print_array(FILE *f, const char *set, const char *name, uchar *a, int n)
862+print_array(FILE *f, const char *set, const char *name, const uchar *a, int n)
863 {
864 int i;
865
866- fprintf(f,"uchar %s_%s[] = {\n", name, set);
867+ fprintf(f,"static const uchar %s_%s[] = {\n", name, set);
868
869 for (i=0 ;i<n ; i++)
870 {
871@@ -44,11 +44,11 @@
872
873
874 void
875-print_array16(FILE *f, const char *set, const char *name, uint16 *a, int n)
876+print_array16(FILE *f, const char *set, const char *name, const uint16 *a, int n)
877 {
878 int i;
879
880- fprintf(f,"uint16 %s_%s[] = {\n", name, set);
881+ fprintf(f,"static const uint16 %s_%s[] = {\n", name, set);
882
883 for (i=0 ;i<n ; i++)
884 {
885@@ -80,7 +80,7 @@
886 return dst;
887 }
888
889-static void simple_cs_copy_data(CHARSET_INFO *to, CHARSET_INFO *from)
890+static void simple_cs_copy_data(struct charset_info_st *to, CHARSET_INFO *from)
891 {
892 to->number= from->number ? from->number : to->number;
893 to->state|= from->state;
894@@ -122,7 +122,7 @@
895 (cs->sort_order || (cs->state & MY_CS_BINSORT))));
896 }
897
898-static int add_collation(CHARSET_INFO *cs)
899+static int add_collation(struct charset_info_st *cs)
900 {
901 if (cs->name && (cs->number || (cs->number=get_charset_number(cs->name))))
902 {
903@@ -329,7 +329,7 @@
904 }
905 }
906
907- fprintf(f,"CHARSET_INFO compiled_charsets[] = {\n");
908+ fprintf(f,"struct charset_info_st compiled_charsets[] = {\n");
909 for (cs=all_charsets; cs < all_charsets+256; cs++)
910 {
911 if (simple_cs_is_full(cs))
912
913=== modified file 'strings/ctype-big5.c'
914--- strings/ctype-big5.c 2008-04-23 06:06:26 +0000
915+++ strings/ctype-big5.c 2009-11-03 19:35:25 +0000
916@@ -26,6 +26,7 @@
917 * .configure. mbmaxlen_big5=2
918 */
919
920+#define CHARSET_EXTERN MYSQL_PLUGIN_IMPORT struct charset_info_st
921 #include <my_global.h>
922 #include "m_string.h"
923 #include "m_ctype.h"
924@@ -47,7 +48,7 @@
925 #define big5head(e) ((uchar)(e>>8))
926 #define big5tail(e) ((uchar)(e&0xff))
927
928-static uchar NEAR ctype_big5[257] =
929+static const uchar NEAR ctype_big5[257] =
930 {
931 0, /* For standard library */
932 32,32,32,32,32,32,32,32,32,40,40,40,40,40,32,32,
933@@ -68,7 +69,7 @@
934 3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,
935 };
936
937-static uchar NEAR to_lower_big5[]=
938+static const uchar NEAR to_lower_big5[]=
939 {
940 '\000','\001','\002','\003','\004','\005','\006','\007',
941 '\010','\011','\012','\013','\014','\015','\016','\017',
942@@ -104,7 +105,7 @@
943 (uchar) '\370',(uchar) '\371',(uchar) '\372',(uchar) '\373',(uchar) '\374',(uchar) '\375',(uchar) '\376',(uchar) '\377',
944 };
945
946-static uchar NEAR to_upper_big5[]=
947+static const uchar NEAR to_upper_big5[]=
948 {
949 '\000','\001','\002','\003','\004','\005','\006','\007',
950 '\010','\011','\012','\013','\014','\015','\016','\017',
951@@ -140,7 +141,7 @@
952 (uchar) '\370',(uchar) '\371',(uchar) '\372',(uchar) '\373',(uchar) '\374',(uchar) '\375',(uchar) '\376',(uchar) '\377',
953 };
954
955-static uchar NEAR sort_order_big5[]=
956+static const uchar NEAR sort_order_big5[]=
957 {
958 '\000','\001','\002','\003','\004','\005','\006','\007',
959 '\010','\011','\012','\013','\014','\015','\016','\017',
960@@ -471,7 +472,7 @@
961
962
963 /* page 0 0xA140-0xC7FC */
964-static uint16 tab_big5_uni0[]={
965+static const uint16 tab_big5_uni0[]={
966 0x3000,0xFF0C,0x3001,0x3002,0xFF0E,0x2022,0xFF1B,0xFF1A,
967 0xFF1F,0xFF01,0xFE30,0x2026,0x2025,0xFE50,0xFF64,0xFE52,
968 0x00B7,0xFE54,0xFE55,0xFE56,0xFE57,0xFF5C,0x2013,0xFE31,
969@@ -1714,7 +1715,7 @@
970 0x2479,0x247A,0x247B,0x247C,0x247D};
971
972 /* page 1 0xC940-0xF9DC */
973-static uint16 tab_big5_uni1[]={
974+static const uint16 tab_big5_uni1[]={
975 0x4E42,0x4E5C,0x51F5,0x531A,0x5382,0x4E07,0x4E0C,0x4E47,
976 0x4E8D,0x56D7,0xFA0C,0x5C6E,0x5F73,0x4E0F,0x5187,0x4E0E,
977 0x4E2E,0x4E93,0x4EC2,0x4EC9,0x4EC8,0x5198,0x52FC,0x536C,
978@@ -3282,7 +3283,7 @@
979
980
981 /* page 0 0x00A2-0x00F7 */
982-static uint16 tab_uni_big50[]={
983+static const uint16 tab_uni_big50[]={
984 0xA246,0xA247, 0,0xA244, 0,0xA1B1, 0, 0,
985 0, 0, 0, 0, 0, 0,0xA258,0xA1D3,
986 0, 0, 0, 0, 0,0xA150, 0, 0,
987@@ -3296,7 +3297,7 @@
988 0, 0, 0, 0, 0,0xA1D2};
989
990 /* page 1 0x02C7-0x0451 */
991-static uint16 tab_uni_big51[]={
992+static const uint16 tab_uni_big51[]={
993 0xA3BE, 0,0xA3BC,0xA3BD,0xA3BF, 0, 0, 0,
994 0, 0, 0, 0, 0, 0, 0, 0,
995 0, 0,0xA3BB, 0, 0, 0, 0, 0,
996@@ -3349,7 +3350,7 @@
997 0xC7E8, 0,0xC7CE};
998
999 /* page 2 0x2013-0x22BF */
1000-static uint16 tab_uni_big52[]={
1001+static const uint16 tab_uni_big52[]={
1002 0xA156,0xA158, 0, 0, 0,0xA1A5,0xA1A6, 0,
1003 0,0xA1A7,0xA1A8, 0, 0, 0, 0,0xA145,
1004 0, 0,0xA14C,0xA14B, 0, 0, 0, 0,
1005@@ -3438,7 +3439,7 @@
1006 0, 0, 0, 0,0xA1E9};
1007
1008 /* page 3 0x2460-0x2642 */
1009-static uint16 tab_uni_big53[]={
1010+static const uint16 tab_uni_big53[]={
1011 0xC7E9,0xC7EA,0xC7EB,0xC7EC,0xC7ED,0xC7EE,0xC7EF,0xC7F0,
1012 0xC7F1,0xC7F2, 0, 0, 0, 0, 0, 0,
1013 0, 0, 0, 0,0xC7F3,0xC7F4,0xC7F5,0xC7F6,
1014@@ -3502,7 +3503,7 @@
1015 0xA1F0,0xA1F2,0xA1F1};
1016
1017 /* page 4 0x3000-0x3129 */
1018-static uint16 tab_uni_big54[]={
1019+static const uint16 tab_uni_big54[]={
1020 0xA140,0xA142,0xA143,0xA1B2, 0,0xC6A4, 0, 0,
1021 0xA171,0xA172,0xA16D,0xA16E,0xA175,0xA176,0xA179,0xA17A,
1022 0xA169,0xA16A,0xA245, 0,0xA165,0xA166, 0, 0,
1023@@ -3543,11 +3544,11 @@
1024 0xA3B9,0xA3BA};
1025
1026 /* page 5 0x32A3-0x32A3 */
1027-static uint16 tab_uni_big55[]={
1028+static const uint16 tab_uni_big55[]={
1029 0xA1C0};
1030
1031 /* page 6 0x338E-0x33D5 */
1032-static uint16 tab_uni_big56[]={
1033+static const uint16 tab_uni_big56[]={
1034 0xA255,0xA256, 0, 0, 0, 0, 0, 0,
1035 0, 0, 0, 0, 0, 0,0xA250,0xA251,
1036 0xA252, 0, 0,0xA254, 0, 0, 0, 0,
1037@@ -3560,7 +3561,7 @@
1038 };
1039
1040 /* page 7 0x4E00-0x9483 */
1041-static uint16 tab_uni_big57[]={
1042+static const uint16 tab_uni_big57[]={
1043 0xA440,0xA442, 0,0xA443, 0, 0, 0,0xC945,
1044 0xA456,0xA454,0xA457,0xA455,0xC946,0xA4A3,0xC94F,0xC94D,
1045 0xA4A2,0xA4A1, 0, 0,0xA542,0xA541,0xA540, 0,
1046@@ -5820,7 +5821,7 @@
1047 0xF9C0,0xF9C1,0xF9BF,0xF9C9};
1048
1049 /* page 8 0x9577-0x9FA4 */
1050-static uint16 tab_uni_big58[]={
1051+static const uint16 tab_uni_big58[]={
1052 0xAAF8, 0, 0,0xD844,0xDC78,0xE8A5,0xF376, 0,
1053 0,0xAAF9, 0,0xADAC,0xB07B, 0, 0,0xD845,
1054 0,0xD846,0xB3AC, 0,0xB67D,0xDC7A,0xDC79,0xB6A3,
1055@@ -6149,11 +6150,11 @@
1056 0,0xEFB6, 0,0xF7CF, 0,0xF9A1};
1057
1058 /* page 9 0xFA0C-0xFA0D */
1059-static uint16 tab_uni_big59[]={
1060+static const uint16 tab_uni_big59[]={
1061 0xC94A,0xDDFC};
1062
1063 /* page 10 0xFE30-0xFFFD */
1064-static uint16 tab_uni_big510[]={
1065+static const uint16 tab_uni_big510[]={
1066 0xA14A,0xA157, 0,0xA159,0xA15B,0xA15F,0xA160,0xA163,
1067 0xA164,0xA167,0xA168,0xA16B,0xA16C,0xA16F,0xA170,0xA173,
1068 0xA174,0xA177,0xA178,0xA17B,0xA17C, 0, 0, 0,
1069@@ -6377,7 +6378,7 @@
1070 my_scan_8bit
1071 };
1072
1073-CHARSET_INFO my_charset_big5_chinese_ci=
1074+struct charset_info_st my_charset_big5_chinese_ci=
1075 {
1076 1,0,0, /* number */
1077 MY_CS_COMPILED|MY_CS_PRIMARY|MY_CS_STRNXFRM, /* state */
1078@@ -6410,7 +6411,7 @@
1079 };
1080
1081
1082-CHARSET_INFO my_charset_big5_bin=
1083+struct charset_info_st my_charset_big5_bin=
1084 {
1085 84,0,0, /* number */
1086 MY_CS_COMPILED|MY_CS_BINSORT, /* state */
1087
1088=== modified file 'strings/ctype-bin.c'
1089--- strings/ctype-bin.c 2007-06-05 22:22:35 +0000
1090+++ strings/ctype-bin.c 2009-11-03 19:35:25 +0000
1091@@ -18,11 +18,12 @@
1092 /* This file is for binary pseudo charset, created by bar@mysql.com */
1093
1094
1095+#define CHARSET_EXTERN MYSQL_PLUGIN_IMPORT struct charset_info_st
1096 #include <my_global.h>
1097 #include "m_string.h"
1098 #include "m_ctype.h"
1099
1100-static uchar ctype_bin[]=
1101+static const uchar ctype_bin[]=
1102 {
1103 0,
1104 32, 32, 32, 32, 32, 32, 32, 32, 32, 40, 40, 40, 40, 40, 32, 32,
1105@@ -46,7 +47,7 @@
1106
1107 /* Dummy array for toupper / tolower / sortorder */
1108
1109-static uchar bin_char_array[] =
1110+static const uchar bin_char_array[] =
1111 {
1112 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
1113 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
1114@@ -68,7 +69,7 @@
1115
1116
1117 static my_bool
1118-my_coll_init_8bit_bin(CHARSET_INFO *cs,
1119+my_coll_init_8bit_bin(struct charset_info_st *cs,
1120 void *(*alloc)(size_t) __attribute__((unused)))
1121 {
1122 cs->max_sort_char=255;
1123@@ -549,7 +550,7 @@
1124 };
1125
1126
1127-CHARSET_INFO my_charset_bin =
1128+struct charset_info_st my_charset_bin =
1129 {
1130 63,0,0, /* number */
1131 MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_PRIMARY,/* state */
1132
1133=== modified file 'strings/ctype-cp932.c'
1134--- strings/ctype-cp932.c 2009-05-05 06:55:22 +0000
1135+++ strings/ctype-cp932.c 2009-11-03 19:35:25 +0000
1136@@ -16,6 +16,7 @@
1137 /* This file is for cp932 charaset (Windows Japanese),
1138 and created based on ctype-sjis.c file */
1139
1140+#define CHARSET_EXTERN MYSQL_PLUGIN_IMPORT struct charset_info_st
1141 #include <my_global.h>
1142 #include "m_string.h"
1143 #include "m_ctype.h"
1144@@ -31,7 +32,7 @@
1145 * .configure. mbmaxlen_cp932=2
1146 */
1147
1148-static uchar NEAR ctype_cp932[257] =
1149+static const uchar NEAR ctype_cp932[257] =
1150 {
1151 0, /* For standard library */
1152 0040, 0040, 0040, 0040, 0040, 0040, 0040, 0040, /* NUL ^A - ^G */
1153@@ -68,7 +69,7 @@
1154 0020, 0020, 0020, 0020, 0020, 0000, 0000, 0000
1155 };
1156
1157-static uchar NEAR to_lower_cp932[]=
1158+static const uchar NEAR to_lower_cp932[]=
1159 {
1160 '\000','\001','\002','\003','\004','\005','\006','\007',
1161 '\010','\011','\012','\013','\014','\015','\016','\017',
1162@@ -104,7 +105,7 @@
1163 (uchar) '\370',(uchar) '\371',(uchar) '\372',(uchar) '\373',(uchar) '\374',(uchar) '\375',(uchar) '\376',(uchar) '\377'
1164 };
1165
1166-static uchar NEAR to_upper_cp932[]=
1167+static const uchar NEAR to_upper_cp932[]=
1168 {
1169 '\000','\001','\002','\003','\004','\005','\006','\007',
1170 '\010','\011','\012','\013','\014','\015','\016','\017',
1171@@ -140,7 +141,7 @@
1172 (uchar) '\370',(uchar) '\371',(uchar) '\372',(uchar) '\373',(uchar) '\374',(uchar) '\375',(uchar) '\376',(uchar) '\377'
1173 };
1174
1175-static uchar NEAR sort_order_cp932[]=
1176+static const uchar NEAR sort_order_cp932[]=
1177 {
1178 '\000','\001','\002','\003','\004','\005','\006','\007',
1179 '\010','\011','\012','\013','\014','\015','\016','\017',
1180@@ -377,7 +378,7 @@
1181 }
1182
1183 /* page 0 0x00A1-0x00DF */
1184-static uint16 tab_cp932_uni0[]={
1185+static const uint16 tab_cp932_uni0[]={
1186 0xFF61,0xFF62,0xFF63,0xFF64,0xFF65,0xFF66,0xFF67,0xFF68,
1187 0xFF69,0xFF6A,0xFF6B,0xFF6C,0xFF6D,0xFF6E,0xFF6F,0xFF70,
1188 0xFF71,0xFF72,0xFF73,0xFF74,0xFF75,0xFF76,0xFF77,0xFF78,
1189@@ -388,7 +389,7 @@
1190 0xFF99,0xFF9A,0xFF9B,0xFF9C,0xFF9D,0xFF9E,0xFF9F};
1191
1192 /* page 1 0x8140-0x84BE */
1193-static uint16 tab_cp932_uni1[]={
1194+static const uint16 tab_cp932_uni1[]={
1195 0x3000,0x3001,0x3002,0xFF0C,0xFF0E,0x30FB,0xFF1A,0xFF1B,
1196 0xFF1F,0xFF01,0x309B,0x309C,0x00B4,0xFF40,0x00A8,0xFF3E,
1197 0xFFE3,0xFF3F,0x30FD,0x30FE,0x309D,0x309E,0x3003,0x4EDD,
1198@@ -503,7 +504,7 @@
1199 0x2537,0x253F,0x251D,0x2530,0x2525,0x2538,0x2542};
1200
1201 /* page 2 0x8740-0x879C - NEC Row 13 */
1202-static uint16 tab_cp932_uni2[]={
1203+static const uint16 tab_cp932_uni2[]={
1204 0x2460,0x2461,0x2462,0x2463,0x2464,0x2465,0x2466,0x2467,
1205 0x2468,0x2469,0x246A,0x246B,0x246C,0x246D,0x246E,0x246F,
1206 0x2470,0x2471,0x2472,0x2473,0x2160,0x2161,0x2162,0x2163,
1207@@ -518,7 +519,7 @@
1208 0x221F,0x22BF,0x2235,0x2229,0x222A};
1209
1210 /* page 3 0x889F-0x9FFC */
1211-static uint16 tab_cp932_uni3[]={
1212+static const uint16 tab_cp932_uni3[]={
1213 0x4E9C,0x5516,0x5A03,0x963F,0x54C0,0x611B,0x6328,0x59F6,
1214 0x9022,0x8475,0x831C,0x7A50,0x60AA,0x63E1,0x6E25,0x65ED,
1215 0x8466,0x82A6,0x9BF5,0x6893,0x5727,0x65A1,0x6271,0x5B9B,
1216@@ -1269,7 +1270,7 @@
1217 0x6F3F,0x6EF2,0x6F31,0x6EEF,0x6F32,0x6ECC};
1218
1219 /* page 4 0xE040-0xEAA4 */
1220-static uint16 tab_cp932_uni4[]={
1221+static const uint16 tab_cp932_uni4[]={
1222 0x6F3E,0x6F13,0x6EF7,0x6F86,0x6F7A,0x6F78,0x6F81,0x6F80,
1223 0x6F6F,0x6F5B,0x6FF3,0x6F6D,0x6F82,0x6F7C,0x6F58,0x6F8E,
1224 0x6F91,0x6FC2,0x6F66,0x6FB3,0x6FA3,0x6FA1,0x6FA4,0x6FB9,
1225@@ -1606,7 +1607,7 @@
1226
1227 /* page 5 0xED40-0xEEFC -
1228 IBM Selected Kanji and Non-Kanji(NEC implementation) */
1229-static uint16 tab_cp932_uni5[]={
1230+static const uint16 tab_cp932_uni5[]={
1231 0x7E8A,0x891C,0x9348,0x9288,0x84DC,0x4FC9,0x70BB,0x6631,
1232 0x68C8,0x92F9,0x66FB,0x5F45,0x4E28,0x4EE1,0x4EFC,0x4F00,
1233 0x4F03,0x4F39,0x4F56,0x4F92,0x4F8A,0x4F9A,0x4F94,0x4FCD,
1234@@ -1665,7 +1666,7 @@
1235 0x2179,0xFFE2,0xFFE4,0xFF07,0xFF02};
1236
1237 /* page 6 0xF040-0xF9FC - User defined characters */
1238-static uint16 tab_cp932_uni6[]={
1239+static const uint16 tab_cp932_uni6[]={
1240 0xE000,0xE001,0xE002,0xE003,0xE004,0xE005,0xE006,0xE007,
1241 0xE008,0xE009,0xE00A,0xE00B,0xE00C,0xE00D,0xE00E,0xE00F,
1242 0xE010,0xE011,0xE012,0xE013,0xE014,0xE015,0xE016,0xE017,
1243@@ -1981,7 +1982,7 @@
1244
1245 /* page 7 0xFA40-0xFC4B -
1246 IBM Selected Kanji and Non-Kanji */
1247-static uint16 tab_cp932_uni7[]={
1248+static const uint16 tab_cp932_uni7[]={
1249 0x2170,0x2171,0x2172,0x2173,0x2174,0x2175,0x2176,0x2177,
1250 0x2178,0x2179,0x2160,0x2161,0x2162,0x2163,0x2164,0x2165,
1251 0x2166,0x2167,0x2168,0x2169,0xFFE2,0xFFE4,0xFF07,0xFF02,
1252@@ -2070,7 +2071,7 @@
1253 }
1254
1255 /* page 0 0x005C-0x00F7 */
1256-static uint16 tab_uni_cp9320[]={
1257+static const uint16 tab_uni_cp9320[]={
1258 0, 0, 0, 0, 0, 0, 0, 0,
1259 0, 0, 0, 0, 0, 0, 0, 0,
1260 0, 0, 0, 0, 0, 0, 0, 0,
1261@@ -2093,7 +2094,7 @@
1262 0, 0, 0,0x8180};
1263
1264 /* page 1 0x0391-0x0451 */
1265-static uint16 tab_uni_cp9321[]={
1266+static const uint16 tab_uni_cp9321[]={
1267 0x839F,0x83A0,0x83A1,0x83A2,0x83A3,0x83A4,0x83A5,0x83A6,
1268 0x83A7,0x83A8,0x83A9,0x83AA,0x83AB,0x83AC,0x83AD,0x83AE,
1269 0x83AF, 0,0x83B0,0x83B1,0x83B2,0x83B3,0x83B4,0x83B5,
1270@@ -2121,7 +2122,7 @@
1271 0x8476};
1272
1273 /* page 2 0x2010-0x2473 */
1274-static uint16 tab_uni_cp9322[]={
1275+static const uint16 tab_uni_cp9322[]={
1276 0x815D, 0, 0, 0, 0,0x815C, 0, 0,
1277 0x8165,0x8166, 0, 0,0x8167,0x8168, 0, 0,
1278 0x81F5,0x81F6, 0, 0, 0,0x8164,0x8163, 0,
1279@@ -2265,7 +2266,7 @@
1280 0x8750,0x8751,0x8752,0x8753};
1281
1282 /* page 3 0x2500-0x266F */
1283-static uint16 tab_uni_cp9323[]={
1284+static const uint16 tab_uni_cp9323[]={
1285 0x849F,0x84AA,0x84A0,0x84AB, 0, 0, 0, 0,
1286 0, 0, 0, 0,0x84A1, 0, 0,0x84AC,
1287 0x84A2, 0, 0,0x84AD,0x84A4, 0, 0,0x84AF,
1288@@ -2315,7 +2316,7 @@
1289 };
1290
1291 /* page 4 0x3000-0x30FE */
1292-static uint16 tab_uni_cp9324[]={
1293+static const uint16 tab_uni_cp9324[]={
1294 0x8140,0x8141,0x8142,0x8156, 0,0x8158,0x8159,0x815A,
1295 0x8171,0x8172,0x8173,0x8174,0x8175,0x8176,0x8177,0x8178,
1296 0x8179,0x817A,0x81A7,0x81AC,0x816B,0x816C, 0, 0,
1297@@ -2350,7 +2351,7 @@
1298 0, 0, 0,0x8145,0x815B,0x8152,0x8153};
1299
1300 /* page 5 0x3230-0x33CD */
1301-static uint16 tab_uni_cp9325[]={
1302+static const uint16 tab_uni_cp9325[]={
1303 0,0x878A,0x878B, 0, 0, 0, 0, 0,
1304 0,0x878C, 0, 0, 0, 0, 0, 0,
1305 0, 0, 0, 0, 0, 0, 0, 0,
1306@@ -2405,7 +2406,7 @@
1307 0, 0, 0, 0, 0,0x8783};
1308
1309 /* page 6 0x4E00-0x9481 */
1310-static uint16 tab_uni_cp9326[]={
1311+static const uint16 tab_uni_cp9326[]={
1312 0x88EA,0x929A, 0,0x8EB5, 0, 0, 0,0x969C,
1313 0x8FE4,0x8E4F,0x8FE3,0x89BA, 0,0x9573,0x975E, 0,
1314 0x98A0,0x894E, 0, 0,0x8A8E,0x98A1,0x90A2,0x99C0,
1315@@ -4665,7 +4666,7 @@
1316 0,0xE876};
1317
1318 /* page 7 0x9577-0x9FA0 */
1319-static uint16 tab_uni_cp9327[]={
1320+static const uint16 tab_uni_cp9327[]={
1321 0x92B7, 0, 0, 0, 0, 0, 0, 0,
1322 0,0x96E5, 0,0xE878,0x914D, 0, 0, 0,
1323 0xE879, 0,0x95C2,0xE87A,0x8A4A, 0, 0, 0,
1324@@ -4994,7 +4995,7 @@
1325 0,0xEA9E};
1326
1327 /* page 8 0xE000-0xE757 - User defined characters */
1328-static uint16 tab_uni_cp9328[]={
1329+static const uint16 tab_uni_cp9328[]={
1330 0xF040,0xF041,0xF042,0xF043,0xF044,0xF045,0xF046,0xF047,
1331 0xF048,0xF049,0xF04A,0xF04B,0xF04C,0xF04D,0xF04E,0xF04F,
1332 0xF050,0xF051,0xF052,0xF053,0xF054,0xF055,0xF056,0xF057,
1333@@ -5232,7 +5233,7 @@
1334 0xF9F5,0xF9F6,0xF9F7,0xF9F8,0xF9F9,0xF9FA,0xF9FB,0xF9FC};
1335
1336 /* page 9 0xF920-0xFA2D */
1337-static uint16 tab_uni_cp9329[]={
1338+static const uint16 tab_uni_cp9329[]={
1339 0, 0, 0, 0, 0, 0, 0, 0,
1340 0,0xFAE0, 0, 0, 0, 0, 0, 0,
1341 0, 0, 0, 0, 0, 0, 0, 0,
1342@@ -5269,7 +5270,7 @@
1343 0xFBDA,0xFBEA,0xFBF6,0xFBF7,0xFBF9,0xFC49};
1344
1345 /* page 10 0xFF01-0xFFE5 */
1346-static uint16 tab_uni_cp93210[]={
1347+static const uint16 tab_uni_cp93210[]={
1348 0x8149,0xFA57,0x8194,0x8190,0x8193,0x8195,0xFA56,0x8169,
1349 0x816A,0x8196,0x817B,0x8143,0x817C,0x8144,0x815E,0x824F,
1350 0x8250,0x8251,0x8252,0x8253,0x8254,0x8255,0x8256,0x8257,
1351@@ -5508,7 +5509,7 @@
1352 };
1353
1354
1355-CHARSET_INFO my_charset_cp932_japanese_ci=
1356+struct charset_info_st my_charset_cp932_japanese_ci=
1357 {
1358 95,0,0, /* number */
1359 MY_CS_COMPILED|MY_CS_PRIMARY|MY_CS_STRNXFRM, /* state */
1360@@ -5540,7 +5541,7 @@
1361 &my_collation_ci_handler
1362 };
1363
1364-CHARSET_INFO my_charset_cp932_bin=
1365+struct charset_info_st my_charset_cp932_bin=
1366 {
1367 96,0,0, /* number */
1368 MY_CS_COMPILED|MY_CS_BINSORT, /* state */
1369
1370=== modified file 'strings/ctype-czech.c'
1371--- strings/ctype-czech.c 2007-05-10 09:59:39 +0000
1372+++ strings/ctype-czech.c 2009-11-03 19:35:25 +0000
1373@@ -61,6 +61,7 @@
1374
1375 #define SKIP_TRAILING_SPACES 1
1376
1377+#define CHARSET_EXTERN MYSQL_PLUGIN_IMPORT struct charset_info_st
1378 #define REAL_MYSQL
1379
1380 #ifdef REAL_MYSQL
1381@@ -83,7 +84,7 @@
1382 below for what are the "special values"
1383 */
1384
1385-static uchar *CZ_SORT_TABLE[] = {
1386+static const uchar *const CZ_SORT_TABLE[] = {
1387 (uchar*) "\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\043\044\045\046\047\050\051\052\053\054\000\000\000\000\000\000\000\003\004\377\007\010\011\012\013\015\016\017\020\022\023\024\025\026\027\031\033\034\035\036\037\040\041\000\000\000\000\000\000\003\004\377\007\010\011\012\013\015\016\017\020\022\023\024\025\026\027\031\033\034\035\036\037\040\041\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\003\000\021\000\020\032\000\000\032\032\033\042\000\042\042\000\003\000\021\000\020\032\000\000\032\032\033\042\000\042\042\027\003\003\003\003\020\006\006\006\010\010\010\010\015\015\007\007\023\023\024\024\024\024\000\030\034\034\034\034\040\033\000\027\003\003\003\003\020\006\006\006\010\010\010\010\015\015\007\007\023\023\024\024\024\024\000\030\034\034\034\034\040\033\000",
1388 (uchar*) "\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\106\107\110\111\112\113\114\115\116\117\000\000\000\000\000\000\000\003\011\377\016\021\026\027\030\032\035\036\037\043\044\047\054\055\056\061\065\070\075\076\077\100\102\000\000\000\000\000\000\003\011\377\016\021\026\027\030\032\035\036\037\043\044\047\054\055\056\061\065\070\075\076\077\100\102\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\010\000\042\000\041\063\000\000\062\064\066\104\000\103\105\000\010\000\042\000\041\063\000\000\062\064\066\104\000\103\105\057\004\005\007\006\040\014\015\013\022\025\024\023\033\034\017\020\046\045\050\051\053\052\000\060\072\071\074\073\101\067\000\057\004\005\007\006\040\014\015\013\022\025\024\023\033\034\017\020\046\045\050\051\053\052\000\060\072\071\074\073\101\067\000",
1389 (uchar*) "\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\212\213\214\215\216\217\220\221\222\223\000\000\000\000\000\000\000\004\020\377\032\040\052\054\056\063\071\073\075\105\107\115\127\131\133\141\151\157\171\173\175\177\203\000\000\000\000\000\000\003\017\377\031\037\051\053\055\062\070\072\074\104\106\114\126\130\132\140\150\156\170\172\174\176\202\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\016\000\103\000\101\145\000\000\143\147\153\207\000\205\211\000\015\000\102\000\100\144\000\000\142\146\152\206\000\204\210\135\006\010\014\012\077\026\030\024\042\050\046\044\065\067\034\036\113\111\117\121\125\123\000\137\163\161\167\165\201\155\000\134\005\007\013\011\076\025\027\023\041\047\045\043\064\066\033\035\112\110\116\120\124\122\000\136\162\160\166\164\200\154\000",
1390@@ -99,14 +100,14 @@
1391 struct wordvalue
1392 {
1393 const char * word;
1394- uchar *outvalue;
1395+ const uchar *outvalue;
1396 };
1397-static struct wordvalue doubles[] = {
1398- { "ch", (uchar*) "\014\031\057\057" },
1399- { "Ch", (uchar*) "\014\031\060\060" },
1400- { "CH", (uchar*) "\014\031\061\061" },
1401- { "c", (uchar*) "\005\012\021\021" },
1402- { "C", (uchar*) "\005\012\022\022" },
1403+static const struct wordvalue doubles[] = {
1404+ { "ch", (const uchar*) "\014\031\057\057" },
1405+ { "Ch", (const uchar*) "\014\031\060\060" },
1406+ { "CH", (const uchar*) "\014\031\061\061" },
1407+ { "c", (const uchar*) "\005\012\021\021" },
1408+ { "C", (const uchar*) "\005\012\022\022" },
1409 };
1410
1411 /*
1412@@ -430,7 +431,7 @@
1413 #include <my_global.h>
1414 #include "m_string.h"
1415
1416-static uchar NEAR ctype_czech[257] = {
1417+static const uchar NEAR ctype_czech[257] = {
1418 0,
1419 32, 32, 32, 32, 32, 32, 32, 32, 32, 40, 40, 40, 40, 40, 32, 32,
1420 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
1421@@ -450,7 +451,7 @@
1422 2, 2, 2, 2, 2, 2, 2, 16, 2, 2, 2, 2, 2, 2, 2, 16,
1423 };
1424
1425-static uchar NEAR to_lower_czech[] = {
1426+static const uchar NEAR to_lower_czech[] = {
1427 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
1428 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
1429 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
1430@@ -469,7 +470,7 @@
1431 240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,
1432 };
1433
1434-static uchar NEAR to_upper_czech[] = {
1435+static const uchar NEAR to_upper_czech[] = {
1436 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
1437 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
1438 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
1439@@ -488,7 +489,7 @@
1440 240,209,210,211,212,213,214,247,216,217,218,219,220,221,222,255,
1441 };
1442
1443-static uchar NEAR sort_order_czech[] = {
1444+static const uchar NEAR sort_order_czech[] = {
1445 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
1446 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
1447 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
1448@@ -507,7 +508,7 @@
1449 255, 98, 99,101,102,103,104,255,109,119,118,120,121,126,116,255,
1450 };
1451
1452-static uint16 tab_8859_2_uni[256]={
1453+static const uint16 tab_8859_2_uni[256]={
1454 0,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
1455 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
1456 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
1457@@ -544,7 +545,7 @@
1458
1459
1460 /* 0000-00FD , 254 chars */
1461-static uchar tab_uni_8859_2_plane00[]={
1462+static const uchar tab_uni_8859_2_plane00[]={
1463 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
1464 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
1465 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
1466@@ -563,7 +564,7 @@
1467 0x00,0x00,0x00,0xF3,0xF4,0x00,0xF6,0xF7,0x00,0x00,0xFA,0x00,0xFC,0xFD};
1468
1469 /* 0102-017E , 125 chars */
1470-static uchar tab_uni_8859_2_plane01[]={
1471+static const uchar tab_uni_8859_2_plane01[]={
1472 0xC3,0xE3,0xA1,0xB1,0xC6,0xE6,0x00,0x00,0x00,0x00,0xC8,0xE8,0xCF,0xEF,0xD0,0xF0,
1473 0x00,0x00,0x00,0x00,0x00,0x00,0xCA,0xEA,0xCC,0xEC,0x00,0x00,0x00,0x00,0x00,0x00,
1474 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
1475@@ -574,7 +575,7 @@
1476 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAC,0xBC,0xAF,0xBF,0xAE,0xBE};
1477
1478 /* 02C7-02DD , 23 chars */
1479-static uchar tab_uni_8859_2_plane02[]={
1480+static const uchar tab_uni_8859_2_plane02[]={
1481 0xB7,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
1482 0x00,0xA2,0xFF,0x00,0xB2,0x00,0xBD};
1483
1484@@ -601,7 +602,7 @@
1485 my_propagate_simple
1486 };
1487
1488-CHARSET_INFO my_charset_latin2_czech_ci =
1489+struct charset_info_st my_charset_latin2_czech_ci =
1490 {
1491 2,0,0, /* number */
1492 MY_CS_COMPILED|MY_CS_STRNXFRM|MY_CS_CSSORT, /* state */
1493
1494=== modified file 'strings/ctype-euc_kr.c'
1495--- strings/ctype-euc_kr.c 2009-07-24 06:27:23 +0000
1496+++ strings/ctype-euc_kr.c 2009-11-03 19:35:25 +0000
1497@@ -25,6 +25,7 @@
1498 * .configure. mbmaxlen_euc_kr=2
1499 */
1500
1501+#define CHARSET_EXTERN MYSQL_PLUGIN_IMPORT struct charset_info_st
1502 #include <my_global.h>
1503 #include "m_string.h"
1504 #include "m_ctype.h"
1505@@ -32,7 +33,7 @@
1506 #ifdef HAVE_CHARSET_euckr
1507
1508
1509-static uchar NEAR ctype_euc_kr[257] =
1510+static const uchar NEAR ctype_euc_kr[257] =
1511 {
1512 0, /* For standard library */
1513 0040, 0040, 0040, 0040, 0040, 0040, 0040, 0040, /* NUL ^A - ^G */
1514@@ -69,7 +70,7 @@
1515 0020, 0020, 0020, 0020, 0020, 0020, 0020, 0000,
1516 };
1517
1518-static uchar NEAR to_lower_euc_kr[]=
1519+static const uchar NEAR to_lower_euc_kr[]=
1520 {
1521 '\000','\001','\002','\003','\004','\005','\006','\007',
1522 '\010','\011','\012','\013','\014','\015','\016','\017',
1523@@ -105,7 +106,7 @@
1524 (uchar) '\370',(uchar) '\371',(uchar) '\372',(uchar) '\373',(uchar) '\374',(uchar) '\375',(uchar) '\376',(uchar) '\377',
1525 };
1526
1527-static uchar NEAR to_upper_euc_kr[]=
1528+static const uchar NEAR to_upper_euc_kr[]=
1529 {
1530 '\000','\001','\002','\003','\004','\005','\006','\007',
1531 '\010','\011','\012','\013','\014','\015','\016','\017',
1532@@ -141,7 +142,7 @@
1533 (uchar) '\370',(uchar) '\371',(uchar) '\372',(uchar) '\373',(uchar) '\374',(uchar) '\375',(uchar) '\376',(uchar) '\377',
1534 };
1535
1536-static uchar NEAR sort_order_euc_kr[]=
1537+static const uchar NEAR sort_order_euc_kr[]=
1538 {
1539 '\000','\001','\002','\003','\004','\005','\006','\007',
1540 '\010','\011','\012','\013','\014','\015','\016','\017',
1541@@ -217,7 +218,7 @@
1542
1543
1544 /* page 0 0x8141-0xC8FE */
1545-static uint16 tab_ksc5601_uni0[]={
1546+static const uint16 tab_ksc5601_uni0[]={
1547 0xAC02,0xAC03,0xAC05,0xAC06,0xAC0B,0xAC0C,0xAC0D,0xAC0E,
1548 0xAC0F,0xAC18,0xAC1E,0xAC1F,0xAC21,0xAC22,0xAC23,0xAC25,
1549 0xAC26,0xAC27,0xAC28,0xAC29,0xAC2A,0xAC2B,0xAC2E,0xAC32,
1550@@ -2516,7 +2517,7 @@
1551 0xD78C,0xD790,0xD798,0xD799,0xD79B,0xD79D};
1552
1553 /* page 1 0xCAA1-0xFDFE */
1554-static uint16 tab_ksc5601_uni1[]={
1555+static const uint16 tab_ksc5601_uni1[]={
1556 0x4F3D,0x4F73,0x5047,0x50F9,0x52A0,0x53EF,0x5475,0x54E5,
1557 0x5609,0x5AC1,0x5BB6,0x6687,0x67B6,0x67B7,0x67EF,0x6B4C,
1558 0x73C2,0x75C2,0x7A3C,0x82DB,0x8304,0x8857,0x8888,0x8A36,
1559@@ -4170,7 +4171,7 @@
1560 return(0);
1561 }
1562 /* page 0 0x00A1-0x0167 */
1563-static uint16 tab_uni_ksc56010[]={
1564+static const uint16 tab_uni_ksc56010[]={
1565 0xA2AE, 0, 0,0xA2B4, 0, 0,0xA1D7,0xA1A7,
1566 0,0xA8A3, 0, 0,0xA1A9,0xA2E7, 0,0xA1C6,
1567 0xA1BE,0xA9F7,0xA9F8,0xA2A5, 0,0xA2D2,0xA1A4,0xA2AC,
1568@@ -4198,7 +4199,7 @@
1569 0, 0, 0, 0, 0,0xA8AE,0xA9AE};
1570
1571 /* page 1 0x02C7-0x0451 */
1572-static uint16 tab_uni_ksc56011[]={
1573+static const uint16 tab_uni_ksc56011[]={
1574 0xA2A7, 0, 0, 0, 0, 0, 0, 0,
1575 0,0xA2B0, 0, 0, 0, 0, 0, 0,
1576 0,0xA2A8,0xA2AB,0xA2AA,0xA2AD, 0,0xA2A9, 0,
1577@@ -4251,7 +4252,7 @@
1578 0xACF1, 0,0xACD7};
1579
1580 /* page 2 0x2015-0x2312 */
1581-static uint16 tab_uni_ksc56012[]={
1582+static const uint16 tab_uni_ksc56012[]={
1583 0xA1AA, 0, 0,0xA1AE,0xA1AF, 0, 0,0xA1B0,
1584 0xA1B1, 0, 0,0xA2D3,0xA2D4, 0, 0, 0,
1585 0xA1A5,0xA1A6, 0, 0, 0, 0, 0, 0,
1586@@ -4350,7 +4351,7 @@
1587 0, 0, 0, 0, 0,0xA1D2};
1588
1589 /* page 3 0x2460-0x266D */
1590-static uint16 tab_uni_ksc56013[]={
1591+static const uint16 tab_uni_ksc56013[]={
1592 0xA8E7,0xA8E8,0xA8E9,0xA8EA,0xA8EB,0xA8EC,0xA8ED,0xA8EE,
1593 0xA8EF,0xA8F0,0xA8F1,0xA8F2,0xA8F3,0xA8F4,0xA8F5, 0,
1594 0, 0, 0, 0,0xA9E7,0xA9E8,0xA9E9,0xA9EA,
1595@@ -4419,7 +4420,7 @@
1596 0xA2CD,0xA2DB,0xA2DC, 0,0xA2DD,0xA2DA};
1597
1598 /* page 4 0x3000-0x327F */
1599-static uint16 tab_uni_ksc56014[]={
1600+static const uint16 tab_uni_ksc56014[]={
1601 0xA1A1,0xA1A2,0xA1A3,0xA1A8, 0, 0, 0, 0,
1602 0xA1B4,0xA1B5,0xA1B6,0xA1B7,0xA1B8,0xA1B9,0xA1BA,0xA1BB,
1603 0xA1BC,0xA1BD, 0,0xA1EB,0xA1B2,0xA1B3, 0, 0,
1604@@ -4503,7 +4504,7 @@
1605 };
1606
1607 /* page 5 0x3380-0x33DD */
1608-static uint16 tab_uni_ksc56015[]={
1609+static const uint16 tab_uni_ksc56015[]={
1610 0xA7C9,0xA7CA,0xA7CB,0xA7CC,0xA7CD, 0, 0, 0,
1611 0xA7BA,0xA7BB,0xA7DC,0xA7DD,0xA7DE,0xA7B6,0xA7B7,0xA7B8,
1612 0xA7D4,0xA7D5,0xA7D6,0xA7D7,0xA7D8,0xA7A1,0xA7A2,0xA7A3,
1613@@ -4518,7 +4519,7 @@
1614 0xA2E4, 0, 0,0xA7E4,0xA7EE,0xA7E9};
1615
1616 /* page 6 0x4E00-0x947F */
1617-static uint16 tab_uni_ksc56016[]={
1618+static const uint16 tab_uni_ksc56016[]={
1619 0xECE9,0xEFCB, 0,0xF6D2, 0, 0, 0,0xD8B2,
1620 0xEDDB,0xDFB2,0xDFBE,0xF9BB, 0,0xDCF4, 0, 0,
1621 0,0xF5E4, 0, 0,0xF3A6,0xDDE0,0xE1A6, 0,
1622@@ -6778,7 +6779,7 @@
1623 };
1624
1625 /* page 7 0x9577-0x9F9C */
1626-static uint16 tab_uni_ksc56017[]={
1627+static const uint16 tab_uni_ksc56017[]={
1628 0xEDFE, 0, 0, 0, 0, 0, 0, 0,
1629 0,0xDAA6, 0, 0,0xE0EC, 0, 0, 0,
1630 0, 0,0xF8CD, 0,0xCBD2, 0, 0, 0,
1631@@ -7106,7 +7107,7 @@
1632 0, 0, 0, 0, 0,0xCFCF};
1633
1634 /* page 8 0xAC00-0xD7A3 */
1635-static uint16 tab_uni_ksc56018[]={
1636+static const uint16 tab_uni_ksc56018[]={
1637 0xB0A1,0xB0A2,0x8141,0x8142,0xB0A3,0x8143,0x8144,0xB0A4,
1638 0xB0A5,0xB0A6,0xB0A7,0x8145,0x8146,0x8147,0x8148,0x8149,
1639 0xB0A8,0xB0A9,0xB0AA,0xB0AB,0xB0AC,0xB0AD,0xB0AE,0xB0AF,
1640@@ -8506,7 +8507,7 @@
1641 0xC64F,0xC650,0xC651,0xC652};
1642
1643 /* page 9 0xF900-0xFA0B */
1644-static uint16 tab_uni_ksc56019[]={
1645+static const uint16 tab_uni_ksc56019[]={
1646 0xCBD0,0xCBD6,0xCBE7,0xCDCF,0xCDE8,0xCEAD,0xCFFB,0xD0A2,
1647 0xD0B8,0xD0D0,0xD0DD,0xD1D4,0xD1D5,0xD1D8,0xD1DB,0xD1DC,
1648 0xD1DD,0xD1DE,0xD1DF,0xD1E0,0xD1E2,0xD1E3,0xD1E4,0xD1E5,
1649@@ -8543,7 +8544,7 @@
1650 0xFAA1,0xFAA2,0xFAE6,0xFCA9};
1651
1652 /* page 10 0xFF01-0xFFE6 */
1653-static uint16 tab_uni_ksc560110[]={
1654+static const uint16 tab_uni_ksc560110[]={
1655 0xA3A1,0xA3A2,0xA3A3,0xA3A4,0xA3A5,0xA3A6,0xA3A7,0xA3A8,
1656 0xA3A9,0xA3AA,0xA3AB,0xA3AC,0xA3AD,0xA3AE,0xA3AF,0xA3B0,
1657 0xA3B1,0xA3B2,0xA3B3,0xA3B4,0xA3B5,0xA3B6,0xA3B7,0xA3B8,
1658@@ -8737,7 +8738,7 @@
1659 };
1660
1661
1662-CHARSET_INFO my_charset_euckr_korean_ci=
1663+struct charset_info_st my_charset_euckr_korean_ci=
1664 {
1665 19,0,0, /* number */
1666 MY_CS_COMPILED|MY_CS_PRIMARY, /* state */
1667@@ -8770,7 +8771,7 @@
1668 };
1669
1670
1671-CHARSET_INFO my_charset_euckr_bin=
1672+struct charset_info_st my_charset_euckr_bin=
1673 {
1674 85,0,0, /* number */
1675 MY_CS_COMPILED|MY_CS_BINSORT, /* state */
1676
1677=== modified file 'strings/ctype-eucjpms.c'
1678--- strings/ctype-eucjpms.c 2008-02-20 18:49:26 +0000
1679+++ strings/ctype-eucjpms.c 2009-11-03 19:35:25 +0000
1680@@ -26,6 +26,7 @@
1681 * .configure. mbmaxlen_eucjpms=3
1682 */
1683
1684+#define CHARSET_EXTERN MYSQL_PLUGIN_IMPORT struct charset_info_st
1685 #include <my_global.h>
1686 #include "m_string.h"
1687 #include "m_ctype.h"
1688@@ -33,7 +34,7 @@
1689 #ifdef HAVE_CHARSET_eucjpms
1690
1691
1692-static uchar NEAR ctype_eucjpms[257] =
1693+static const uchar NEAR ctype_eucjpms[257] =
1694 {
1695 0, /* For standard library */
1696 0040, 0040, 0040, 0040, 0040, 0040, 0040, 0040, /* NUL ^A - ^G */
1697@@ -70,7 +71,7 @@
1698 0020, 0020, 0020, 0020, 0020, 0020, 0020, 0000,
1699 };
1700
1701-static uchar NEAR to_lower_eucjpms[]=
1702+static const uchar NEAR to_lower_eucjpms[]=
1703 {
1704 '\000','\001','\002','\003','\004','\005','\006','\007',
1705 '\010','\011','\012','\013','\014','\015','\016','\017',
1706@@ -106,7 +107,7 @@
1707 (uchar) '\370',(uchar) '\371',(uchar) '\372',(uchar) '\373',(uchar) '\374',(uchar) '\375',(uchar) '\376',(uchar) '\377'
1708 };
1709
1710-static uchar NEAR to_upper_eucjpms[]=
1711+static const uchar NEAR to_upper_eucjpms[]=
1712 {
1713 '\000','\001','\002','\003','\004','\005','\006','\007',
1714 '\010','\011','\012','\013','\014','\015','\016','\017',
1715@@ -142,7 +143,7 @@
1716 (uchar) '\370',(uchar) '\371',(uchar) '\372',(uchar) '\373',(uchar) '\374',(uchar) '\375',(uchar) '\376',(uchar) '\377'
1717 };
1718
1719-static uchar NEAR sort_order_eucjpms[]=
1720+static const uchar NEAR sort_order_eucjpms[]=
1721 {
1722 '\000','\001','\002','\003','\004','\005','\006','\007',
1723 '\010','\011','\012','\013','\014','\015','\016','\017',
1724@@ -201,7 +202,7 @@
1725 }
1726
1727
1728-static uint16 tab_jisx0201_uni[256]={
1729+static const uint16 tab_jisx0201_uni[256]={
1730 0,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
1731 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
1732 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
1733@@ -270,7 +271,7 @@
1734
1735
1736 /* page 0 0x2121-0x217E */
1737-static uint16 tab_jisx0208_uni0[]={
1738+static const uint16 tab_jisx0208_uni0[]={
1739 0x3000,0x3001,0x3002,0xFF0C,0xFF0E,0x30FB,0xFF1A,0xFF1B,
1740 0xFF1F,0xFF01,0x309B,0x309C,0x00B4,0xFF40,0x00A8,0xFF3E,
1741 0xFFE3,0xFF3F,0x30FD,0x30FE,0x309D,0x309E,0x3003,0x4EDD,
1742@@ -285,7 +286,7 @@
1743 0x2606,0x2605,0x25CB,0x25CF,0x25CE,0x25C7};
1744
1745 /* page 1 0x2221-0x227E */
1746-static uint16 tab_jisx0208_uni1[]={
1747+static const uint16 tab_jisx0208_uni1[]={
1748 0x25C6,0x25A1,0x25A0,0x25B3,0x25B2,0x25BD,0x25BC,0x203B,
1749 0x3012,0x2192,0x2190,0x2191,0x2193,0x3013, 0, 0,
1750 0, 0, 0, 0, 0, 0, 0, 0,
1751@@ -300,7 +301,7 @@
1752 0x00B6, 0, 0, 0, 0,0x25EF};
1753
1754 /* page 2 0x2330-0x237A */
1755-static uint16 tab_jisx0208_uni2[]={
1756+static const uint16 tab_jisx0208_uni2[]={
1757 0xFF10,0xFF11,0xFF12,0xFF13,0xFF14,0xFF15,0xFF16,0xFF17,
1758 0xFF18,0xFF19, 0, 0, 0, 0, 0, 0,
1759 0,0xFF21,0xFF22,0xFF23,0xFF24,0xFF25,0xFF26,0xFF27,
1760@@ -313,7 +314,7 @@
1761 0xFF58,0xFF59,0xFF5A};
1762
1763 /* page 3 0x2421-0x2473 */
1764-static uint16 tab_jisx0208_uni3[]={
1765+static const uint16 tab_jisx0208_uni3[]={
1766 0x3041,0x3042,0x3043,0x3044,0x3045,0x3046,0x3047,0x3048,
1767 0x3049,0x304A,0x304B,0x304C,0x304D,0x304E,0x304F,0x3050,
1768 0x3051,0x3052,0x3053,0x3054,0x3055,0x3056,0x3057,0x3058,
1769@@ -327,7 +328,7 @@
1770 0x3091,0x3092,0x3093};
1771
1772 /* page 4 0x2521-0x2576 */
1773-static uint16 tab_jisx0208_uni4[]={
1774+static const uint16 tab_jisx0208_uni4[]={
1775 0x30A1,0x30A2,0x30A3,0x30A4,0x30A5,0x30A6,0x30A7,0x30A8,
1776 0x30A9,0x30AA,0x30AB,0x30AC,0x30AD,0x30AE,0x30AF,0x30B0,
1777 0x30B1,0x30B2,0x30B3,0x30B4,0x30B5,0x30B6,0x30B7,0x30B8,
1778@@ -341,7 +342,7 @@
1779 0x30F1,0x30F2,0x30F3,0x30F4,0x30F5,0x30F6};
1780
1781 /* page 5 0x2621-0x2658 */
1782-static uint16 tab_jisx0208_uni5[]={
1783+static const uint16 tab_jisx0208_uni5[]={
1784 0x0391,0x0392,0x0393,0x0394,0x0395,0x0396,0x0397,0x0398,
1785 0x0399,0x039A,0x039B,0x039C,0x039D,0x039E,0x039F,0x03A0,
1786 0x03A1,0x03A3,0x03A4,0x03A5,0x03A6,0x03A7,0x03A8,0x03A9,
1787@@ -352,7 +353,7 @@
1788 };
1789
1790 /* page 6 0x2721-0x2771 */
1791-static uint16 tab_jisx0208_uni6[]={
1792+static const uint16 tab_jisx0208_uni6[]={
1793 0x0410,0x0411,0x0412,0x0413,0x0414,0x0415,0x0401,0x0416,
1794 0x0417,0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,
1795 0x041F,0x0420,0x0421,0x0422,0x0423,0x0424,0x0425,0x0426,
1796@@ -366,7 +367,7 @@
1797 0x044F};
1798
1799 /* page 7 0x2821-0x2840 */
1800-static uint16 tab_jisx0208_uni7[]={
1801+static const uint16 tab_jisx0208_uni7[]={
1802 0x2500,0x2502,0x250C,0x2510,0x2518,0x2514,0x251C,0x252C,
1803 0x2524,0x2534,0x253C,0x2501,0x2503,0x250F,0x2513,0x251B,
1804 0x2517,0x2523,0x2533,0x252B,0x253B,0x254B,0x2520,0x252F,
1805@@ -374,7 +375,7 @@
1806 };
1807
1808 /* page 8 0x3021-0x307E */
1809-static uint16 tab_jisx0208_uni8[]={
1810+static const uint16 tab_jisx0208_uni8[]={
1811 0x4E9C,0x5516,0x5A03,0x963F,0x54C0,0x611B,0x6328,0x59F6,
1812 0x9022,0x8475,0x831C,0x7A50,0x60AA,0x63E1,0x6E25,0x65ED,
1813 0x8466,0x82A6,0x9BF5,0x6893,0x5727,0x65A1,0x6271,0x5B9B,
1814@@ -389,7 +390,7 @@
1815 0x59FB,0x5F15,0x98F2,0x6DEB,0x80E4,0x852D};
1816
1817 /* page 9 0x3121-0x317E */
1818-static uint16 tab_jisx0208_uni9[]={
1819+static const uint16 tab_jisx0208_uni9[]={
1820 0x9662,0x9670,0x96A0,0x97FB,0x540B,0x53F3,0x5B87,0x70CF,
1821 0x7FBD,0x8FC2,0x96E8,0x536F,0x9D5C,0x7ABA,0x4E11,0x7893,
1822 0x81FC,0x6E26,0x5618,0x5504,0x6B1D,0x851A,0x9C3B,0x59E5,
1823@@ -404,7 +405,7 @@
1824 0x7525,0x51F9,0x592E,0x5965,0x5F80,0x5FDC};
1825
1826 /* page 10 0x3221-0x327E */
1827-static uint16 tab_jisx0208_uni10[]={
1828+static const uint16 tab_jisx0208_uni10[]={
1829 0x62BC,0x65FA,0x6A2A,0x6B27,0x6BB4,0x738B,0x7FC1,0x8956,
1830 0x9D2C,0x9D0E,0x9EC4,0x5CA1,0x6C96,0x837B,0x5104,0x5C4B,
1831 0x61B6,0x81C6,0x6876,0x7261,0x4E59,0x4FFA,0x5378,0x6069,
1832@@ -419,7 +420,7 @@
1833 0x6094,0x6062,0x61D0,0x6212,0x62D0,0x6539};
1834
1835 /* page 11 0x3321-0x337E */
1836-static uint16 tab_jisx0208_uni11[]={
1837+static const uint16 tab_jisx0208_uni11[]={
1838 0x9B41,0x6666,0x68B0,0x6D77,0x7070,0x754C,0x7686,0x7D75,
1839 0x82A5,0x87F9,0x958B,0x968E,0x8C9D,0x51F1,0x52BE,0x5916,
1840 0x54B3,0x5BB3,0x5D16,0x6168,0x6982,0x6DAF,0x788D,0x84CB,
1841@@ -434,7 +435,7 @@
1842 0x938C,0x565B,0x9D28,0x6822,0x8305,0x8431};
1843
1844 /* page 12 0x3421-0x347E */
1845-static uint16 tab_jisx0208_uni12[]={
1846+static const uint16 tab_jisx0208_uni12[]={
1847 0x7CA5,0x5208,0x82C5,0x74E6,0x4E7E,0x4F83,0x51A0,0x5BD2,
1848 0x520A,0x52D8,0x52E7,0x5DFB,0x559A,0x582A,0x59E6,0x5B8C,
1849 0x5B98,0x5BDB,0x5E72,0x5E79,0x60A3,0x611F,0x6163,0x61BE,
1850@@ -449,7 +450,7 @@
1851 0x673A,0x65D7,0x65E2,0x671F,0x68CB,0x68C4};
1852
1853 /* page 13 0x3521-0x357E */
1854-static uint16 tab_jisx0208_uni13[]={
1855+static const uint16 tab_jisx0208_uni13[]={
1856 0x6A5F,0x5E30,0x6BC5,0x6C17,0x6C7D,0x757F,0x7948,0x5B63,
1857 0x7A00,0x7D00,0x5FBD,0x898F,0x8A18,0x8CB4,0x8D77,0x8ECC,
1858 0x8F1D,0x98E2,0x9A0E,0x9B3C,0x4E80,0x507D,0x5100,0x5993,
1859@@ -464,7 +465,7 @@
1860 0x6F01,0x79A6,0x9B5A,0x4EA8,0x4EAB,0x4EAC};
1861
1862 /* page 14 0x3621-0x367E */
1863-static uint16 tab_jisx0208_uni14[]={
1864+static const uint16 tab_jisx0208_uni14[]={
1865 0x4F9B,0x4FA0,0x50D1,0x5147,0x7AF6,0x5171,0x51F6,0x5354,
1866 0x5321,0x537F,0x53EB,0x55AC,0x5883,0x5CE1,0x5F37,0x5F4A,
1867 0x602F,0x6050,0x606D,0x631F,0x6559,0x6A4B,0x6CC1,0x72C2,
1868@@ -479,7 +480,7 @@
1869 0x9685,0x4E32,0x6ADB,0x91E7,0x5C51,0x5C48};
1870
1871 /* page 15 0x3721-0x377E */
1872-static uint16 tab_jisx0208_uni15[]={
1873+static const uint16 tab_jisx0208_uni15[]={
1874 0x6398,0x7A9F,0x6C93,0x9774,0x8F61,0x7AAA,0x718A,0x9688,
1875 0x7C82,0x6817,0x7E70,0x6851,0x936C,0x52F2,0x541B,0x85AB,
1876 0x8A13,0x7FA4,0x8ECD,0x90E1,0x5366,0x8888,0x7941,0x4FC2,
1877@@ -494,7 +495,7 @@
1878 0x5ACC,0x5EFA,0x61B2,0x61F8,0x62F3,0x6372};
1879
1880 /* page 16 0x3821-0x387E */
1881-static uint16 tab_jisx0208_uni16[]={
1882+static const uint16 tab_jisx0208_uni16[]={
1883 0x691C,0x6A29,0x727D,0x72AC,0x732E,0x7814,0x786F,0x7D79,
1884 0x770C,0x80A9,0x898B,0x8B19,0x8CE2,0x8ED2,0x9063,0x9375,
1885 0x967A,0x9855,0x9A13,0x9E78,0x5143,0x539F,0x53B3,0x5E7B,
1886@@ -509,7 +510,7 @@
1887 0x529F,0x52B9,0x52FE,0x539A,0x53E3,0x5411};
1888
1889 /* page 17 0x3921-0x397E */
1890-static uint16 tab_jisx0208_uni17[]={
1891+static const uint16 tab_jisx0208_uni17[]={
1892 0x540E,0x5589,0x5751,0x57A2,0x597D,0x5B54,0x5B5D,0x5B8F,
1893 0x5DE5,0x5DE7,0x5DF7,0x5E78,0x5E83,0x5E9A,0x5EB7,0x5F18,
1894 0x6052,0x614C,0x6297,0x62D8,0x63A7,0x653B,0x6602,0x6643,
1895@@ -524,7 +525,7 @@
1896 0x7511,0x5FFD,0x60DA,0x9AA8,0x72DB,0x8FBC};
1897
1898 /* page 18 0x3A21-0x3A7E */
1899-static uint16 tab_jisx0208_uni18[]={
1900+static const uint16 tab_jisx0208_uni18[]={
1901 0x6B64,0x9803,0x4ECA,0x56F0,0x5764,0x58BE,0x5A5A,0x6068,
1902 0x61C7,0x660F,0x6606,0x6839,0x68B1,0x6DF7,0x75D5,0x7D3A,
1903 0x826E,0x9B42,0x4E9B,0x4F50,0x53C9,0x5506,0x5D6F,0x5DE6,
1904@@ -539,7 +540,7 @@
1905 0x685C,0x9BAD,0x7B39,0x5319,0x518A,0x5237};
1906
1907 /* page 19 0x3B21-0x3B7E */
1908-static uint16 tab_jisx0208_uni19[]={
1909+static const uint16 tab_jisx0208_uni19[]={
1910 0x5BDF,0x62F6,0x64AE,0x64E6,0x672D,0x6BBA,0x85A9,0x96D1,
1911 0x7690,0x9BD6,0x634C,0x9306,0x9BAB,0x76BF,0x6652,0x4E09,
1912 0x5098,0x53C2,0x5C71,0x60E8,0x6492,0x6563,0x685F,0x71E6,
1913@@ -554,7 +555,7 @@
1914 0x5150,0x5B57,0x5BFA,0x6148,0x6301,0x6642};
1915
1916 /* page 20 0x3C21-0x3C7E */
1917-static uint16 tab_jisx0208_uni20[]={
1918+static const uint16 tab_jisx0208_uni20[]={
1919 0x6B21,0x6ECB,0x6CBB,0x723E,0x74BD,0x75D4,0x78C1,0x793A,
1920 0x800C,0x8033,0x81EA,0x8494,0x8F9E,0x6C50,0x9E7F,0x5F0F,
1921 0x8B58,0x9D2B,0x7AFA,0x8EF8,0x5B8D,0x96EB,0x4E03,0x53F1,
1922@@ -569,7 +570,7 @@
1923 0x6A39,0x7DAC,0x9700,0x56DA,0x53CE,0x5468};
1924
1925 /* page 21 0x3D21-0x3D7E */
1926-static uint16 tab_jisx0208_uni21[]={
1927+static const uint16 tab_jisx0208_uni21[]={
1928 0x5B97,0x5C31,0x5DDE,0x4FEE,0x6101,0x62FE,0x6D32,0x79C0,
1929 0x79CB,0x7D42,0x7E4D,0x7FD2,0x81ED,0x821F,0x8490,0x8846,
1930 0x8972,0x8B90,0x8E74,0x8F2F,0x9031,0x914B,0x916C,0x96C6,
1931@@ -584,7 +585,7 @@
1932 0x5F90,0x6055,0x92E4,0x9664,0x50B7,0x511F};
1933
1934 /* page 22 0x3E21-0x3E7E */
1935-static uint16 tab_jisx0208_uni22[]={
1936+static const uint16 tab_jisx0208_uni22[]={
1937 0x52DD,0x5320,0x5347,0x53EC,0x54E8,0x5546,0x5531,0x5617,
1938 0x5968,0x59BE,0x5A3C,0x5BB5,0x5C06,0x5C0F,0x5C11,0x5C1A,
1939 0x5E84,0x5E8A,0x5EE0,0x5F70,0x627F,0x6284,0x62DB,0x638C,
1940@@ -599,7 +600,7 @@
1941 0x8B72,0x91B8,0x9320,0x5631,0x57F4,0x98FE};
1942
1943 /* page 23 0x3F21-0x3F7E */
1944-static uint16 tab_jisx0208_uni23[]={
1945+static const uint16 tab_jisx0208_uni23[]={
1946 0x62ED,0x690D,0x6B96,0x71ED,0x7E54,0x8077,0x8272,0x89E6,
1947 0x98DF,0x8755,0x8FB1,0x5C3B,0x4F38,0x4FE1,0x4FB5,0x5507,
1948 0x5A20,0x5BDD,0x5BE9,0x5FC3,0x614E,0x632F,0x65B0,0x664B,
1949@@ -614,7 +615,7 @@
1950 0x6749,0x6919,0x83C5,0x9817,0x96C0,0x88FE};
1951
1952 /* page 24 0x4021-0x407E */
1953-static uint16 tab_jisx0208_uni24[]={
1954+static const uint16 tab_jisx0208_uni24[]={
1955 0x6F84,0x647A,0x5BF8,0x4E16,0x702C,0x755D,0x662F,0x51C4,
1956 0x5236,0x52E2,0x59D3,0x5F81,0x6027,0x6210,0x653F,0x6574,
1957 0x661F,0x6674,0x68F2,0x6816,0x6B63,0x6E05,0x7272,0x751F,
1958@@ -629,7 +630,7 @@
1959 0x714E,0x717D,0x65CB,0x7A7F,0x7BAD,0x7DDA};
1960
1961 /* page 25 0x4121-0x417E */
1962-static uint16 tab_jisx0208_uni25[]={
1963+static const uint16 tab_jisx0208_uni25[]={
1964 0x7E4A,0x7FA8,0x817A,0x821B,0x8239,0x85A6,0x8A6E,0x8CCE,
1965 0x8DF5,0x9078,0x9077,0x92AD,0x9291,0x9583,0x9BAE,0x524D,
1966 0x5584,0x6F38,0x7136,0x5168,0x7985,0x7E55,0x81B3,0x7CCE,
1967@@ -644,7 +645,7 @@
1968 0x9397,0x971C,0x9A12,0x50CF,0x5897,0x618E};
1969
1970 /* page 26 0x4221-0x427E */
1971-static uint16 tab_jisx0208_uni26[]={
1972+static const uint16 tab_jisx0208_uni26[]={
1973 0x81D3,0x8535,0x8D08,0x9020,0x4FC3,0x5074,0x5247,0x5373,
1974 0x606F,0x6349,0x675F,0x6E2C,0x8DB3,0x901F,0x4FD7,0x5C5E,
1975 0x8CCA,0x65CF,0x7D9A,0x5352,0x8896,0x5176,0x63C3,0x5B58,
1976@@ -659,7 +660,7 @@
1977 0x6FC1,0x8AFE,0x8338,0x51E7,0x86F8,0x53EA};
1978
1979 /* page 27 0x4321-0x437E */
1980-static uint16 tab_jisx0208_uni27[]={
1981+static const uint16 tab_jisx0208_uni27[]={
1982 0x53E9,0x4F46,0x9054,0x8FB0,0x596A,0x8131,0x5DFD,0x7AEA,
1983 0x8FBF,0x68DA,0x8C37,0x72F8,0x9C48,0x6A3D,0x8AB0,0x4E39,
1984 0x5358,0x5606,0x5766,0x62C5,0x63A2,0x65E6,0x6B4E,0x6DE1,
1985@@ -674,7 +675,7 @@
1986 0x8CAF,0x4E01,0x5146,0x51CB,0x558B,0x5BF5};
1987
1988 /* page 28 0x4421-0x447E */
1989-static uint16 tab_jisx0208_uni28[]={
1990+static const uint16 tab_jisx0208_uni28[]={
1991 0x5E16,0x5E33,0x5E81,0x5F14,0x5F35,0x5F6B,0x5FB4,0x61F2,
1992 0x6311,0x66A2,0x671D,0x6F6E,0x7252,0x753A,0x773A,0x8074,
1993 0x8139,0x8178,0x8776,0x8ABF,0x8ADC,0x8D85,0x8DF3,0x929A,
1994@@ -689,7 +690,7 @@
1995 0x7DE0,0x8247,0x8A02,0x8AE6,0x8E44,0x9013};
1996
1997 /* page 29 0x4521-0x457E */
1998-static uint16 tab_jisx0208_uni29[]={
1999+static const uint16 tab_jisx0208_uni29[]={
2000 0x90B8,0x912D,0x91D8,0x9F0E,0x6CE5,0x6458,0x64E2,0x6575,
2001 0x6EF4,0x7684,0x7B1B,0x9069,0x93D1,0x6EBA,0x54F2,0x5FB9,
2002 0x64A4,0x8F4D,0x8FED,0x9244,0x5178,0x586B,0x5929,0x5C55,
2003@@ -704,7 +705,7 @@
2004 0x7B49,0x7B54,0x7B52,0x7CD6,0x7D71,0x5230};
2005
2006 /* page 30 0x4621-0x467E */
2007-static uint16 tab_jisx0208_uni30[]={
2008+static const uint16 tab_jisx0208_uni30[]={
2009 0x8463,0x8569,0x85E4,0x8A0E,0x8B04,0x8C46,0x8E0F,0x9003,
2010 0x900F,0x9419,0x9676,0x982D,0x9A30,0x95D8,0x50CD,0x52D5,
2011 0x540C,0x5802,0x5C0E,0x61A7,0x649E,0x6D1E,0x77B3,0x7AE5,
2012@@ -719,7 +720,7 @@
2013 0x8089,0x8679,0x5EFF,0x65E5,0x4E73,0x5165};
2014
2015 /* page 31 0x4721-0x477E */
2016-static uint16 tab_jisx0208_uni31[]={
2017+static const uint16 tab_jisx0208_uni31[]={
2018 0x5982,0x5C3F,0x97EE,0x4EFB,0x598A,0x5FCD,0x8A8D,0x6FE1,
2019 0x79B0,0x7962,0x5BE7,0x8471,0x732B,0x71B1,0x5E74,0x5FF5,
2020 0x637B,0x649A,0x71C3,0x7C98,0x4E43,0x5EFC,0x4E4B,0x57DC,
2021@@ -734,7 +735,7 @@
2022 0x6F20,0x7206,0x7E1B,0x83AB,0x99C1,0x9EA6};
2023
2024 /* page 32 0x4821-0x487E */
2025-static uint16 tab_jisx0208_uni32[]={
2026+static const uint16 tab_jisx0208_uni32[]={
2027 0x51FD,0x7BB1,0x7872,0x7BB8,0x8087,0x7B48,0x6AE8,0x5E61,
2028 0x808C,0x7551,0x7560,0x516B,0x9262,0x6E8C,0x767A,0x9197,
2029 0x9AEA,0x4F10,0x7F70,0x629C,0x7B4F,0x95A5,0x9CE9,0x567A,
2030@@ -749,7 +750,7 @@
2031 0x5FAE,0x6787,0x6BD8,0x7435,0x7709,0x7F8E};
2032
2033 /* page 33 0x4921-0x497E */
2034-static uint16 tab_jisx0208_uni33[]={
2035+static const uint16 tab_jisx0208_uni33[]={
2036 0x9F3B,0x67CA,0x7A17,0x5339,0x758B,0x9AED,0x5F66,0x819D,
2037 0x83F1,0x8098,0x5F3C,0x5FC5,0x7562,0x7B46,0x903C,0x6867,
2038 0x59EB,0x5A9B,0x7D10,0x767E,0x8B2C,0x4FF5,0x5F6A,0x6A19,
2039@@ -764,7 +765,7 @@
2040 0x8557,0x4F0F,0x526F,0x5FA9,0x5E45,0x670D};
2041
2042 /* page 34 0x4A21-0x4A7E */
2043-static uint16 tab_jisx0208_uni34[]={
2044+static const uint16 tab_jisx0208_uni34[]={
2045 0x798F,0x8179,0x8907,0x8986,0x6DF5,0x5F17,0x6255,0x6CB8,
2046 0x4ECF,0x7269,0x9B92,0x5206,0x543B,0x5674,0x58B3,0x61A4,
2047 0x626E,0x711A,0x596E,0x7C89,0x7CDE,0x7D1B,0x96F0,0x6587,
2048@@ -779,7 +780,7 @@
2049 0x5E96,0x62B1,0x6367,0x653E,0x65B9,0x670B};
2050
2051 /* page 35 0x4B21-0x4B7E */
2052-static uint16 tab_jisx0208_uni35[]={
2053+static const uint16 tab_jisx0208_uni35[]={
2054 0x6CD5,0x6CE1,0x70F9,0x7832,0x7E2B,0x80DE,0x82B3,0x840C,
2055 0x84EC,0x8702,0x8912,0x8A2A,0x8C4A,0x90A6,0x92D2,0x98FD,
2056 0x9CF3,0x9D6C,0x4E4F,0x4EA1,0x508D,0x5256,0x574A,0x59A8,
2057@@ -794,7 +795,7 @@
2058 0x4FAD,0x7E6D,0x9EBF,0x4E07,0x6162,0x6E80};
2059
2060 /* page 36 0x4C21-0x4C7E */
2061-static uint16 tab_jisx0208_uni36[]={
2062+static const uint16 tab_jisx0208_uni36[]={
2063 0x6F2B,0x8513,0x5473,0x672A,0x9B45,0x5DF3,0x7B95,0x5CAC,
2064 0x5BC6,0x871C,0x6E4A,0x84D1,0x7A14,0x8108,0x5999,0x7C8D,
2065 0x6C11,0x7720,0x52D9,0x5922,0x7121,0x725F,0x77DB,0x9727,
2066@@ -809,7 +810,7 @@
2067 0x85AE,0x9453,0x6109,0x6108,0x6CB9,0x7652};
2068
2069 /* page 37 0x4D21-0x4D7E */
2070-static uint16 tab_jisx0208_uni37[]={
2071+static const uint16 tab_jisx0208_uni37[]={
2072 0x8AED,0x8F38,0x552F,0x4F51,0x512A,0x52C7,0x53CB,0x5BA5,
2073 0x5E7D,0x60A0,0x6182,0x63D6,0x6709,0x67DA,0x6E67,0x6D8C,
2074 0x7336,0x7337,0x7531,0x7950,0x88D5,0x8A98,0x904A,0x9091,
2075@@ -824,7 +825,7 @@
2076 0x540F,0x5C65,0x674E,0x68A8,0x7406,0x7483};
2077
2078 /* page 38 0x4E21-0x4E7E */
2079-static uint16 tab_jisx0208_uni38[]={
2080+static const uint16 tab_jisx0208_uni38[]={
2081 0x75E2,0x88CF,0x88E1,0x91CC,0x96E2,0x9678,0x5F8B,0x7387,
2082 0x7ACB,0x844E,0x63A0,0x7565,0x5289,0x6D41,0x6E9C,0x7409,
2083 0x7559,0x786B,0x7C92,0x9686,0x7ADC,0x9F8D,0x4FB6,0x616E,
2084@@ -839,7 +840,7 @@
2085 0x6190,0x6F23,0x7149,0x7C3E,0x7DF4,0x806F};
2086
2087 /* page 39 0x4F21-0x4F53 */
2088-static uint16 tab_jisx0208_uni39[]={
2089+static const uint16 tab_jisx0208_uni39[]={
2090 0x84EE,0x9023,0x932C,0x5442,0x9B6F,0x6AD3,0x7089,0x8CC2,
2091 0x8DEF,0x9732,0x52B4,0x5A41,0x5ECA,0x5F04,0x6717,0x697C,
2092 0x6994,0x6D6A,0x6F0F,0x7262,0x72FC,0x7BED,0x8001,0x807E,
2093@@ -849,7 +850,7 @@
2094 0x6E7E,0x7897,0x8155};
2095
2096 /* page 40 0x5021-0x507E */
2097-static uint16 tab_jisx0208_uni40[]={
2098+static const uint16 tab_jisx0208_uni40[]={
2099 0x5F0C,0x4E10,0x4E15,0x4E2A,0x4E31,0x4E36,0x4E3C,0x4E3F,
2100 0x4E42,0x4E56,0x4E58,0x4E82,0x4E85,0x8C6B,0x4E8A,0x8212,
2101 0x5F0D,0x4E8E,0x4E9E,0x4E9F,0x4EA0,0x4EA2,0x4EB0,0x4EB3,
2102@@ -864,7 +865,7 @@
2103 0x5078,0x5080,0x509A,0x5085,0x50B4,0x50B2};
2104
2105 /* page 41 0x5121-0x517E */
2106-static uint16 tab_jisx0208_uni41[]={
2107+static const uint16 tab_jisx0208_uni41[]={
2108 0x50C9,0x50CA,0x50B3,0x50C2,0x50D6,0x50DE,0x50E5,0x50ED,
2109 0x50E3,0x50EE,0x50F9,0x50F5,0x5109,0x5101,0x5102,0x5116,
2110 0x5115,0x5114,0x511A,0x5121,0x513A,0x5137,0x513C,0x513B,
2111@@ -879,7 +880,7 @@
2112 0x5294,0x5292,0x5271,0x5288,0x5291,0x8FA8};
2113
2114 /* page 42 0x5221-0x527E */
2115-static uint16 tab_jisx0208_uni42[]={
2116+static const uint16 tab_jisx0208_uni42[]={
2117 0x8FA7,0x52AC,0x52AD,0x52BC,0x52B5,0x52C1,0x52CD,0x52D7,
2118 0x52DE,0x52E3,0x52E6,0x98ED,0x52E0,0x52F3,0x52F5,0x52F8,
2119 0x52F9,0x5306,0x5308,0x7538,0x530D,0x5310,0x530F,0x5315,
2120@@ -894,7 +895,7 @@
2121 0x54B8,0x54A5,0x54AC,0x54C4,0x54C8,0x54A8};
2122
2123 /* page 43 0x5321-0x537E */
2124-static uint16 tab_jisx0208_uni43[]={
2125+static const uint16 tab_jisx0208_uni43[]={
2126 0x54AB,0x54C2,0x54A4,0x54BE,0x54BC,0x54D8,0x54E5,0x54E6,
2127 0x550F,0x5514,0x54FD,0x54EE,0x54ED,0x54FA,0x54E2,0x5539,
2128 0x5540,0x5563,0x554C,0x552E,0x555C,0x5545,0x5556,0x5557,
2129@@ -909,7 +910,7 @@
2130 0x56EE,0x56F9,0x5700,0x56FF,0x5704,0x5709};
2131
2132 /* page 44 0x5421-0x547E */
2133-static uint16 tab_jisx0208_uni44[]={
2134+static const uint16 tab_jisx0208_uni44[]={
2135 0x5708,0x570B,0x570D,0x5713,0x5718,0x5716,0x55C7,0x571C,
2136 0x5726,0x5737,0x5738,0x574E,0x573B,0x5740,0x574F,0x5769,
2137 0x57C0,0x5788,0x5761,0x577F,0x5789,0x5793,0x57A0,0x57B3,
2138@@ -924,7 +925,7 @@
2139 0x5958,0x5962,0x5960,0x5967,0x596C,0x5969};
2140
2141 /* page 45 0x5521-0x557E */
2142-static uint16 tab_jisx0208_uni45[]={
2143+static const uint16 tab_jisx0208_uni45[]={
2144 0x5978,0x5981,0x599D,0x4F5E,0x4FAB,0x59A3,0x59B2,0x59C6,
2145 0x59E8,0x59DC,0x598D,0x59D9,0x59DA,0x5A25,0x5A1F,0x5A11,
2146 0x5A1C,0x5A09,0x5A1A,0x5A40,0x5A6C,0x5A49,0x5A35,0x5A36,
2147@@ -939,7 +940,7 @@
2148 0x5C38,0x5C39,0x5C41,0x5C46,0x5C4E,0x5C53};
2149
2150 /* page 46 0x5621-0x567E */
2151-static uint16 tab_jisx0208_uni46[]={
2152+static const uint16 tab_jisx0208_uni46[]={
2153 0x5C50,0x5C4F,0x5B71,0x5C6C,0x5C6E,0x4E62,0x5C76,0x5C79,
2154 0x5C8C,0x5C91,0x5C94,0x599B,0x5CAB,0x5CBB,0x5CB6,0x5CBC,
2155 0x5CB7,0x5CC5,0x5CBE,0x5CC7,0x5CD9,0x5CE9,0x5CFD,0x5CFA,
2156@@ -954,7 +955,7 @@
2157 0x5EA0,0x5EC1,0x5EC2,0x5EC8,0x5ED0,0x5ECF};
2158
2159 /* page 47 0x5721-0x577E */
2160-static uint16 tab_jisx0208_uni47[]={
2161+static const uint16 tab_jisx0208_uni47[]={
2162 0x5ED6,0x5EE3,0x5EDD,0x5EDA,0x5EDB,0x5EE2,0x5EE1,0x5EE8,
2163 0x5EE9,0x5EEC,0x5EF1,0x5EF3,0x5EF0,0x5EF4,0x5EF8,0x5EFE,
2164 0x5F03,0x5F09,0x5F5D,0x5F5C,0x5F0B,0x5F11,0x5F16,0x5F29,
2165@@ -969,7 +970,7 @@
2166 0x6059,0x6081,0x608D,0x60E7,0x6083,0x609A};
2167
2168 /* page 48 0x5821-0x587E */
2169-static uint16 tab_jisx0208_uni48[]={
2170+static const uint16 tab_jisx0208_uni48[]={
2171 0x6084,0x609B,0x6096,0x6097,0x6092,0x60A7,0x608B,0x60E1,
2172 0x60B8,0x60E0,0x60D3,0x60B4,0x5FF0,0x60BD,0x60C6,0x60B5,
2173 0x60D8,0x614D,0x6115,0x6106,0x60F6,0x60F7,0x6100,0x60F4,
2174@@ -984,7 +985,7 @@
2175 0x6208,0x6209,0x620D,0x620C,0x6214,0x621B};
2176
2177 /* page 49 0x5921-0x597E */
2178-static uint16 tab_jisx0208_uni49[]={
2179+static const uint16 tab_jisx0208_uni49[]={
2180 0x621E,0x6221,0x622A,0x622E,0x6230,0x6232,0x6233,0x6241,
2181 0x624E,0x625E,0x6263,0x625B,0x6260,0x6268,0x627C,0x6282,
2182 0x6289,0x627E,0x6292,0x6293,0x6296,0x62D4,0x6283,0x6294,
2183@@ -999,7 +1000,7 @@
2184 0x6495,0x6493,0x64A5,0x64A9,0x6488,0x64BC};
2185
2186 /* page 50 0x5A21-0x5A7E */
2187-static uint16 tab_jisx0208_uni50[]={
2188+static const uint16 tab_jisx0208_uni50[]={
2189 0x64DA,0x64D2,0x64C5,0x64C7,0x64BB,0x64D8,0x64C2,0x64F1,
2190 0x64E7,0x8209,0x64E0,0x64E1,0x62AC,0x64E3,0x64EF,0x652C,
2191 0x64F6,0x64F4,0x64F2,0x64FA,0x6500,0x64FD,0x6518,0x651C,
2192@@ -1014,7 +1015,7 @@
2193 0x669D,0x66C1,0x66B9,0x66C9,0x66BE,0x66BC};
2194
2195 /* page 51 0x5B21-0x5B7E */
2196-static uint16 tab_jisx0208_uni51[]={
2197+static const uint16 tab_jisx0208_uni51[]={
2198 0x66C4,0x66B8,0x66D6,0x66DA,0x66E0,0x663F,0x66E6,0x66E9,
2199 0x66F0,0x66F5,0x66F7,0x670F,0x6716,0x671E,0x6726,0x6727,
2200 0x9738,0x672E,0x673F,0x6736,0x6741,0x6738,0x6737,0x6746,
2201@@ -1029,7 +1030,7 @@
2202 0x68D8,0x6922,0x6926,0x68E1,0x690C,0x68CD};
2203
2204 /* page 52 0x5C21-0x5C7E */
2205-static uint16 tab_jisx0208_uni52[]={
2206+static const uint16 tab_jisx0208_uni52[]={
2207 0x68D4,0x68E7,0x68D5,0x6936,0x6912,0x6904,0x68D7,0x68E3,
2208 0x6925,0x68F9,0x68E0,0x68EF,0x6928,0x692A,0x691A,0x6923,
2209 0x6921,0x68C6,0x6979,0x6977,0x695C,0x6978,0x696B,0x6954,
2210@@ -1044,7 +1045,7 @@
2211 0x6A90,0x6A8D,0x6AA0,0x6A84,0x6AA2,0x6AA3};
2212
2213 /* page 53 0x5D21-0x5D7E */
2214-static uint16 tab_jisx0208_uni53[]={
2215+static const uint16 tab_jisx0208_uni53[]={
2216 0x6A97,0x8617,0x6ABB,0x6AC3,0x6AC2,0x6AB8,0x6AB3,0x6AAC,
2217 0x6ADE,0x6AD1,0x6ADF,0x6AAA,0x6ADA,0x6AEA,0x6AFB,0x6B05,
2218 0x8616,0x6AFA,0x6B12,0x6B16,0x9B31,0x6B1F,0x6B38,0x6B37,
2219@@ -1059,7 +1060,7 @@
2220 0x6CD7,0x6CC5,0x6CDD,0x6CAE,0x6CB1,0x6CBE};
2221
2222 /* page 54 0x5E21-0x5E7E */
2223-static uint16 tab_jisx0208_uni54[]={
2224+static const uint16 tab_jisx0208_uni54[]={
2225 0x6CBA,0x6CDB,0x6CEF,0x6CD9,0x6CEA,0x6D1F,0x884D,0x6D36,
2226 0x6D2B,0x6D3D,0x6D38,0x6D19,0x6D35,0x6D33,0x6D12,0x6D0C,
2227 0x6D63,0x6D93,0x6D64,0x6D5A,0x6D79,0x6D59,0x6D8E,0x6D95,
2228@@ -1074,7 +1075,7 @@
2229 0x6F3F,0x6EF2,0x6F31,0x6EEF,0x6F32,0x6ECC};
2230
2231 /* page 55 0x5F21-0x5F7E */
2232-static uint16 tab_jisx0208_uni55[]={
2233+static const uint16 tab_jisx0208_uni55[]={
2234 0x6F3E,0x6F13,0x6EF7,0x6F86,0x6F7A,0x6F78,0x6F81,0x6F80,
2235 0x6F6F,0x6F5B,0x6FF3,0x6F6D,0x6F82,0x6F7C,0x6F58,0x6F8E,
2236 0x6F91,0x6FC2,0x6F66,0x6FB3,0x6FA3,0x6FA1,0x6FA4,0x6FB9,
2237@@ -1089,7 +1090,7 @@
2238 0x71CE,0x71E0,0x71EC,0x71E7,0x71F5,0x71FC};
2239
2240 /* page 56 0x6021-0x607E */
2241-static uint16 tab_jisx0208_uni56[]={
2242+static const uint16 tab_jisx0208_uni56[]={
2243 0x71F9,0x71FF,0x720D,0x7210,0x721B,0x7228,0x722D,0x722C,
2244 0x7230,0x7232,0x723B,0x723C,0x723F,0x7240,0x7246,0x724B,
2245 0x7258,0x7274,0x727E,0x7282,0x7281,0x7287,0x7292,0x7296,
2246@@ -1104,7 +1105,7 @@
2247 0x749E,0x74A7,0x74CA,0x74CF,0x74D4,0x73F1};
2248
2249 /* page 57 0x6121-0x617E */
2250-static uint16 tab_jisx0208_uni57[]={
2251+static const uint16 tab_jisx0208_uni57[]={
2252 0x74E0,0x74E3,0x74E7,0x74E9,0x74EE,0x74F2,0x74F0,0x74F1,
2253 0x74F8,0x74F7,0x7504,0x7503,0x7505,0x750C,0x750E,0x750D,
2254 0x7515,0x7513,0x751E,0x7526,0x752C,0x753C,0x7544,0x754D,
2255@@ -1119,7 +1120,7 @@
2256 0x7668,0x7669,0x766A,0x7667,0x766C,0x7670};
2257
2258 /* page 58 0x6221-0x627E */
2259-static uint16 tab_jisx0208_uni58[]={
2260+static const uint16 tab_jisx0208_uni58[]={
2261 0x7672,0x7676,0x7678,0x767C,0x7680,0x7683,0x7688,0x768B,
2262 0x768E,0x7696,0x7693,0x7699,0x769A,0x76B0,0x76B4,0x76B8,
2263 0x76B9,0x76BA,0x76C2,0x76CD,0x76D6,0x76D2,0x76DE,0x76E1,
2264@@ -1134,7 +1135,7 @@
2265 0x78D4,0x78BE,0x78BC,0x78C5,0x78CA,0x78EC};
2266
2267 /* page 59 0x6321-0x637E */
2268-static uint16 tab_jisx0208_uni59[]={
2269+static const uint16 tab_jisx0208_uni59[]={
2270 0x78E7,0x78DA,0x78FD,0x78F4,0x7907,0x7912,0x7911,0x7919,
2271 0x792C,0x792B,0x7940,0x7960,0x7957,0x795F,0x795A,0x7955,
2272 0x7953,0x797A,0x797F,0x798A,0x799D,0x79A7,0x9F4B,0x79AA,
2273@@ -1149,7 +1150,7 @@
2274 0x7B19,0x7B1E,0x7B35,0x7B28,0x7B36,0x7B50};
2275
2276 /* page 60 0x6421-0x647E */
2277-static uint16 tab_jisx0208_uni60[]={
2278+static const uint16 tab_jisx0208_uni60[]={
2279 0x7B7A,0x7B04,0x7B4D,0x7B0B,0x7B4C,0x7B45,0x7B75,0x7B65,
2280 0x7B74,0x7B67,0x7B70,0x7B71,0x7B6C,0x7B6E,0x7B9D,0x7B98,
2281 0x7B9F,0x7B8D,0x7B9C,0x7B9A,0x7B8B,0x7B92,0x7B8F,0x7B5D,
2282@@ -1164,7 +1165,7 @@
2283 0x7CEF,0x7CF2,0x7CF4,0x7CF6,0x7CFA,0x7D06};
2284
2285 /* page 61 0x6521-0x657E */
2286-static uint16 tab_jisx0208_uni61[]={
2287+static const uint16 tab_jisx0208_uni61[]={
2288 0x7D02,0x7D1C,0x7D15,0x7D0A,0x7D45,0x7D4B,0x7D2E,0x7D32,
2289 0x7D3F,0x7D35,0x7D46,0x7D73,0x7D56,0x7D4E,0x7D72,0x7D68,
2290 0x7D6E,0x7D4F,0x7D63,0x7D93,0x7D89,0x7D5B,0x7D8F,0x7D7D,
2291@@ -1179,7 +1180,7 @@
2292 0x7E96,0x7E8E,0x7E9B,0x7E9C,0x7F38,0x7F3A};
2293
2294 /* page 62 0x6621-0x667E */
2295-static uint16 tab_jisx0208_uni62[]={
2296+static const uint16 tab_jisx0208_uni62[]={
2297 0x7F45,0x7F4C,0x7F4D,0x7F4E,0x7F50,0x7F51,0x7F55,0x7F54,
2298 0x7F58,0x7F5F,0x7F60,0x7F68,0x7F69,0x7F67,0x7F78,0x7F82,
2299 0x7F86,0x7F83,0x7F88,0x7F87,0x7F8C,0x7F94,0x7F9E,0x7F9D,
2300@@ -1194,7 +1195,7 @@
2301 0x80F1,0x811B,0x8129,0x8123,0x812F,0x814B};
2302
2303 /* page 63 0x6721-0x677E */
2304-static uint16 tab_jisx0208_uni63[]={
2305+static const uint16 tab_jisx0208_uni63[]={
2306 0x968B,0x8146,0x813E,0x8153,0x8151,0x80FC,0x8171,0x816E,
2307 0x8165,0x8166,0x8174,0x8183,0x8188,0x818A,0x8180,0x8182,
2308 0x81A0,0x8195,0x81A4,0x81A3,0x815F,0x8193,0x81A9,0x81B0,
2309@@ -1209,7 +1210,7 @@
2310 0x82F9,0x82DE,0x8306,0x82DC,0x8309,0x82D9};
2311
2312 /* page 64 0x6821-0x687E */
2313-static uint16 tab_jisx0208_uni64[]={
2314+static const uint16 tab_jisx0208_uni64[]={
2315 0x8335,0x8334,0x8316,0x8332,0x8331,0x8340,0x8339,0x8350,
2316 0x8345,0x832F,0x832B,0x8317,0x8318,0x8385,0x839A,0x83AA,
2317 0x839F,0x83A2,0x8396,0x8323,0x838E,0x8387,0x838A,0x837C,
2318@@ -1224,7 +1225,7 @@
2319 0x8514,0x84FC,0x8540,0x8563,0x8558,0x8548};
2320
2321 /* page 65 0x6921-0x697E */
2322-static uint16 tab_jisx0208_uni65[]={
2323+static const uint16 tab_jisx0208_uni65[]={
2324 0x8541,0x8602,0x854B,0x8555,0x8580,0x85A4,0x8588,0x8591,
2325 0x858A,0x85A8,0x856D,0x8594,0x859B,0x85EA,0x8587,0x859C,
2326 0x8577,0x857E,0x8590,0x85C9,0x85BA,0x85CF,0x85B9,0x85D0,
2327@@ -1239,7 +1240,7 @@
2328 0x874E,0x8774,0x8757,0x8768,0x876E,0x8759};
2329
2330 /* page 66 0x6A21-0x6A7E */
2331-static uint16 tab_jisx0208_uni66[]={
2332+static const uint16 tab_jisx0208_uni66[]={
2333 0x8753,0x8763,0x876A,0x8805,0x87A2,0x879F,0x8782,0x87AF,
2334 0x87CB,0x87BD,0x87C0,0x87D0,0x96D6,0x87AB,0x87C4,0x87B3,
2335 0x87C7,0x87C6,0x87BB,0x87EF,0x87F2,0x87E0,0x880F,0x880D,
2336@@ -1254,7 +1255,7 @@
2337 0x8936,0x8938,0x894C,0x891D,0x8960,0x895E};
2338
2339 /* page 67 0x6B21-0x6B7E */
2340-static uint16 tab_jisx0208_uni67[]={
2341+static const uint16 tab_jisx0208_uni67[]={
2342 0x8966,0x8964,0x896D,0x896A,0x896F,0x8974,0x8977,0x897E,
2343 0x8983,0x8988,0x898A,0x8993,0x8998,0x89A1,0x89A9,0x89A6,
2344 0x89AC,0x89AF,0x89B2,0x89BA,0x89BD,0x89BF,0x89C0,0x89DA,
2345@@ -1269,7 +1270,7 @@
2346 0x8B4E,0x8B49,0x8B56,0x8B5B,0x8B5A,0x8B6B};
2347
2348 /* page 68 0x6C21-0x6C7E */
2349-static uint16 tab_jisx0208_uni68[]={
2350+static const uint16 tab_jisx0208_uni68[]={
2351 0x8B5F,0x8B6C,0x8B6F,0x8B74,0x8B7D,0x8B80,0x8B8C,0x8B8E,
2352 0x8B92,0x8B93,0x8B96,0x8B99,0x8B9A,0x8C3A,0x8C41,0x8C3F,
2353 0x8C48,0x8C4C,0x8C4E,0x8C50,0x8C55,0x8C62,0x8C6C,0x8C78,
2354@@ -1284,7 +1285,7 @@
2355 0x8E1F,0x8E42,0x8E35,0x8E30,0x8E34,0x8E4A};
2356
2357 /* page 69 0x6D21-0x6D7E */
2358-static uint16 tab_jisx0208_uni69[]={
2359+static const uint16 tab_jisx0208_uni69[]={
2360 0x8E47,0x8E49,0x8E4C,0x8E50,0x8E48,0x8E59,0x8E64,0x8E60,
2361 0x8E2A,0x8E63,0x8E55,0x8E76,0x8E72,0x8E7C,0x8E81,0x8E87,
2362 0x8E85,0x8E84,0x8E8B,0x8E8A,0x8E93,0x8E91,0x8E94,0x8E99,
2363@@ -1299,7 +1300,7 @@
2364 0x900B,0x9027,0x9036,0x9035,0x9039,0x8FF8};
2365
2366 /* page 70 0x6E21-0x6E7E */
2367-static uint16 tab_jisx0208_uni70[]={
2368+static const uint16 tab_jisx0208_uni70[]={
2369 0x904F,0x9050,0x9051,0x9052,0x900E,0x9049,0x903E,0x9056,
2370 0x9058,0x905E,0x9068,0x906F,0x9076,0x96A8,0x9072,0x9082,
2371 0x907D,0x9081,0x9080,0x908A,0x9089,0x908F,0x90A8,0x90AF,
2372@@ -1314,7 +1315,7 @@
2373 0x92B7,0x92E9,0x930F,0x92FA,0x9344,0x932E};
2374
2375 /* page 71 0x6F21-0x6F7E */
2376-static uint16 tab_jisx0208_uni71[]={
2377+static const uint16 tab_jisx0208_uni71[]={
2378 0x9319,0x9322,0x931A,0x9323,0x933A,0x9335,0x933B,0x935C,
2379 0x9360,0x937C,0x936E,0x9356,0x93B0,0x93AC,0x93AD,0x9394,
2380 0x93B9,0x93D6,0x93D7,0x93E8,0x93E5,0x93D8,0x93C3,0x93DD,
2381@@ -1329,7 +1330,7 @@
2382 0x964C,0x964F,0x964B,0x9677,0x965C,0x965E};
2383
2384 /* page 72 0x7021-0x707E */
2385-static uint16 tab_jisx0208_uni72[]={
2386+static const uint16 tab_jisx0208_uni72[]={
2387 0x965D,0x965F,0x9666,0x9672,0x966C,0x968D,0x9698,0x9695,
2388 0x9697,0x96AA,0x96A7,0x96B1,0x96B2,0x96B0,0x96B4,0x96B6,
2389 0x96B8,0x96B9,0x96CE,0x96CB,0x96C9,0x96CD,0x894D,0x96DC,
2390@@ -1344,7 +1345,7 @@
2391 0x9846,0x984F,0x984B,0x986B,0x986F,0x9870};
2392
2393 /* page 73 0x7121-0x717E */
2394-static uint16 tab_jisx0208_uni73[]={
2395+static const uint16 tab_jisx0208_uni73[]={
2396 0x9871,0x9874,0x9873,0x98AA,0x98AF,0x98B1,0x98B6,0x98C4,
2397 0x98C3,0x98C6,0x98E9,0x98EB,0x9903,0x9909,0x9912,0x9914,
2398 0x9918,0x9921,0x991D,0x991E,0x9924,0x9920,0x992C,0x992E,
2399@@ -1359,7 +1360,7 @@
2400 0x9AEF,0x9AEB,0x9AEE,0x9AF4,0x9AF1,0x9AF7};
2401
2402 /* page 74 0x7221-0x727E */
2403-static uint16 tab_jisx0208_uni74[]={
2404+static const uint16 tab_jisx0208_uni74[]={
2405 0x9AFB,0x9B06,0x9B18,0x9B1A,0x9B1F,0x9B22,0x9B23,0x9B25,
2406 0x9B27,0x9B28,0x9B29,0x9B2A,0x9B2E,0x9B2F,0x9B32,0x9B44,
2407 0x9B43,0x9B4F,0x9B4D,0x9B4E,0x9B51,0x9B58,0x9B74,0x9B93,
2408@@ -1374,7 +1375,7 @@
2409 0x9D12,0x9D41,0x9D3F,0x9D3E,0x9D46,0x9D48};
2410
2411 /* page 75 0x7321-0x737E */
2412-static uint16 tab_jisx0208_uni75[]={
2413+static const uint16 tab_jisx0208_uni75[]={
2414 0x9D5D,0x9D5E,0x9D64,0x9D51,0x9D50,0x9D59,0x9D72,0x9D89,
2415 0x9D87,0x9DAB,0x9D6F,0x9D7A,0x9D9A,0x9DA4,0x9DA9,0x9DB2,
2416 0x9DC4,0x9DC1,0x9DBB,0x9DB8,0x9DBA,0x9DC6,0x9DCF,0x9DC2,
2417@@ -1389,11 +1390,11 @@
2418 0x9F77,0x9F72,0x9F76,0x9F95,0x9F9C,0x9FA0};
2419
2420 /* page 76 0x7421-0x7426 */
2421-static uint16 tab_jisx0208_uni76[]={
2422+static const uint16 tab_jisx0208_uni76[]={
2423 0x582F,0x69C7,0x9059,0x7464,0x51DC,0x7199};
2424
2425 /* page 77 0x2D21 - 0x2D7C */
2426-static uint16 tab_nec13_uni0[]={
2427+static const uint16 tab_nec13_uni0[]={
2428 0x2460,0x2461,0x2462,0x2463,0x2464,0x2465,0x2466,0x2467,
2429 0x2468,0x2469,0x246A,0x246B,0x246C,0x246D,0x246E,0x246F,
2430 0x2470,0x2471,0x2472,0x2473,0x2160,0x2161,0x2162,0x2163,
2431@@ -1569,25 +1570,25 @@
2432 }
2433
2434 /* page 0 0x005C-0x005C */
2435-static uint16 tab_uni_jisx02080[]={
2436+static const uint16 tab_uni_jisx02080[]={
2437 0x5C};
2438
2439 /* page 1 0x00A2-0x00B6 */
2440-static uint16 tab_uni_jisx02081[]={
2441+static const uint16 tab_uni_jisx02081[]={
2442 0, 0, 0, 0, 0,0x2178,0x212F, 0,
2443 0, 0, 0, 0, 0, 0,0x216B,0x215E,
2444 0, 0,0x212D, 0,0x2279};
2445
2446 /* page 2 0x00D7-0x00D7 */
2447-static uint16 tab_uni_jisx02082[]={
2448+static const uint16 tab_uni_jisx02082[]={
2449 0x215F};
2450
2451 /* page 3 0x00F7-0x00F7 */
2452-static uint16 tab_uni_jisx02083[]={
2453+static const uint16 tab_uni_jisx02083[]={
2454 0x2160};
2455
2456 /* page 4 0x0391-0x03C9 */
2457-static uint16 tab_uni_jisx02084[]={
2458+static const uint16 tab_uni_jisx02084[]={
2459 0x2621,0x2622,0x2623,0x2624,0x2625,0x2626,0x2627,0x2628,
2460 0x2629,0x262A,0x262B,0x262C,0x262D,0x262E,0x262F,0x2630,
2461 0x2631, 0,0x2632,0x2633,0x2634,0x2635,0x2636,0x2637,
2462@@ -1598,7 +1599,7 @@
2463 0x2658};
2464
2465 /* page 5 0x0401-0x0451 */
2466-static uint16 tab_uni_jisx02085[]={
2467+static const uint16 tab_uni_jisx02085[]={
2468 0x2727, 0, 0, 0, 0, 0, 0, 0,
2469 0, 0, 0, 0, 0, 0, 0,0x2721,
2470 0x2722,0x2723,0x2724,0x2725,0x2726,0x2728,0x2729,0x272A,
2471@@ -1612,7 +1613,7 @@
2472 0x2757};
2473
2474 /* page 6 0x2010-0x203B */
2475-static uint16 tab_uni_jisx02086[]={
2476+static const uint16 tab_uni_jisx02086[]={
2477 0x213E, 0, 0, 0, 0,0x213D, 0, 0,
2478 0x2146,0x2147, 0, 0,0x2148,0x2149, 0, 0,
2479 0x2277,0x2278, 0, 0, 0,0x2145,0x2144, 0,
2480@@ -1621,31 +1622,31 @@
2481 0, 0, 0,0x2228};
2482
2483 /* page 7 0x2100-0x2116 */
2484-static uint16 tab_uni_jisx02087[]={
2485+static const uint16 tab_uni_jisx02087[]={
2486 0, 0, 0,0x216E, 0, 0, 0, 0,
2487 0, 0, 0, 0, 0, 0, 0, 0,
2488 0, 0, 0, 0, 0, 0,0x2D62};
2489
2490 /* page 8 0x2120-0x212B */
2491-static uint16 tab_uni_jisx02088[]={
2492+static const uint16 tab_uni_jisx02088[]={
2493 0,0x2D64, 0, 0, 0, 0, 0, 0,
2494 0, 0, 0,0x2272};
2495
2496 /* page 9 0x2160-0x2169 */
2497-static uint16 tab_uni_jisx02089[]={
2498+static const uint16 tab_uni_jisx02089[]={
2499 0x2D35,0x2D36,0x2D37,0x2D38,0x2D39,0x2D3A,0x2D3B,0x2D3C,
2500 0x2D3D,0x2D3E};
2501
2502 /* page 10 0x2190-0x2193 */
2503-static uint16 tab_uni_jisx020810[]={
2504+static const uint16 tab_uni_jisx020810[]={
2505 0x222B,0x222C,0x222A,0x222D};
2506
2507 /* page 11 0x21D2-0x21D4 */
2508-static uint16 tab_uni_jisx020811[]={
2509+static const uint16 tab_uni_jisx020811[]={
2510 0x224D, 0,0x224E};
2511
2512 /* page 12 0x2200-0x223D */
2513-static uint16 tab_uni_jisx020812[]={
2514+static const uint16 tab_uni_jisx020812[]={
2515 0x224F, 0,0x225F,0x2250, 0, 0, 0,0x2260,
2516 0x223A, 0, 0,0x223B, 0, 0, 0, 0,
2517 0,0x2D74, 0, 0, 0, 0, 0, 0,
2518@@ -1656,35 +1657,35 @@
2519 0, 0, 0, 0, 0,0x2266};
2520
2521 /* page 13 0x2252-0x226B */
2522-static uint16 tab_uni_jisx020813[]={
2523+static const uint16 tab_uni_jisx020813[]={
2524 0x2262, 0, 0, 0, 0, 0, 0, 0,
2525 0, 0, 0, 0, 0, 0,0x2162,0x2261,
2526 0, 0, 0, 0,0x2165,0x2166, 0, 0,
2527 0x2263,0x2264};
2528
2529 /* page 14 0x2282-0x2287 */
2530-static uint16 tab_uni_jisx020814[]={
2531+static const uint16 tab_uni_jisx020814[]={
2532 0x223E,0x223F, 0, 0,0x223C,0x223D};
2533
2534 /* page 15 0x22A0-0x22BF */
2535-static uint16 tab_uni_jisx020815[]={
2536+static const uint16 tab_uni_jisx020815[]={
2537 0, 0, 0, 0, 0,0x225D, 0, 0,
2538 0, 0, 0, 0, 0, 0, 0, 0,
2539 0, 0, 0, 0, 0, 0, 0, 0,
2540 0, 0, 0, 0, 0, 0, 0,0x2D79};
2541
2542 /* page 16 0x2312-0x2312 */
2543-static uint16 tab_uni_jisx020816[]={
2544+static const uint16 tab_uni_jisx020816[]={
2545 0x225E};
2546
2547 /* page 17 0x2460-0x2473 */
2548-static uint16 tab_uni_jisx020817[]={
2549+static const uint16 tab_uni_jisx020817[]={
2550 0x2D21,0x2D22,0x2D23,0x2D24,0x2D25,0x2D26,0x2D27,0x2D28,
2551 0x2D29,0x2D2A,0x2D2B,0x2D2C,0x2D2D,0x2D2E,0x2D2F,0x2D30,
2552 0x2D31,0x2D32,0x2D33,0x2D34};
2553
2554 /* page 18 0x2500-0x254B */
2555-static uint16 tab_uni_jisx020818[]={
2556+static const uint16 tab_uni_jisx020818[]={
2557 0x2821,0x282C,0x2822,0x282D, 0, 0, 0, 0,
2558 0, 0, 0, 0,0x2823, 0, 0,0x282E,
2559 0x2824, 0, 0,0x282F,0x2826, 0, 0,0x2831,
2560@@ -1697,7 +1698,7 @@
2561 0, 0, 0,0x2836};
2562
2563 /* page 19 0x25A0-0x25CF */
2564-static uint16 tab_uni_jisx020819[]={
2565+static const uint16 tab_uni_jisx020819[]={
2566 0x2223,0x2222, 0, 0, 0, 0, 0, 0,
2567 0, 0, 0, 0, 0, 0, 0, 0,
2568 0, 0,0x2225,0x2224, 0, 0, 0, 0,
2569@@ -1707,30 +1708,30 @@
2570 };
2571
2572 /* page 20 0x25EF-0x25EF */
2573-static uint16 tab_uni_jisx020820[]={
2574+static const uint16 tab_uni_jisx020820[]={
2575 0x227E};
2576
2577 /* page 21 0x2605-0x2606 */
2578-static uint16 tab_uni_jisx020821[]={
2579+static const uint16 tab_uni_jisx020821[]={
2580 0x217A,0x2179};
2581
2582 /* page 22 0x2640-0x2642 */
2583-static uint16 tab_uni_jisx020822[]={
2584+static const uint16 tab_uni_jisx020822[]={
2585 0x216A, 0,0x2169};
2586
2587 /* page 23 0x266A-0x266F */
2588-static uint16 tab_uni_jisx020823[]={
2589+static const uint16 tab_uni_jisx020823[]={
2590 0x2276, 0, 0,0x2275, 0,0x2274};
2591
2592 /* page 24 0x3000-0x301F */
2593-static uint16 tab_uni_jisx020824[]={
2594+static const uint16 tab_uni_jisx020824[]={
2595 0x2121,0x2122,0x2123,0x2137, 0,0x2139,0x213A,0x213B,
2596 0x2152,0x2153,0x2154,0x2155,0x2156,0x2157,0x2158,0x2159,
2597 0x215A,0x215B,0x2229,0x222E,0x214C,0x214D, 0, 0,
2598 0, 0, 0, 0, 0,0x2D60, 0,0x2D61};
2599
2600 /* page 25 0x3041-0x30FE */
2601-static uint16 tab_uni_jisx020825[]={
2602+static const uint16 tab_uni_jisx020825[]={
2603 0x2421,0x2422,0x2423,0x2424,0x2425,0x2426,0x2427,0x2428,
2604 0x2429,0x242A,0x242B,0x242C,0x242D,0x242E,0x242F,0x2430,
2605 0x2431,0x2432,0x2433,0x2434,0x2435,0x2436,0x2437,0x2438,
2606@@ -1757,17 +1758,17 @@
2607 0, 0,0x2126,0x213C,0x2133,0x2134};
2608
2609 /* page 26 0x3230-0x3239 */
2610-static uint16 tab_uni_jisx020826[]={
2611+static const uint16 tab_uni_jisx020826[]={
2612 0,0x2D6A,0x2D6B, 0, 0, 0, 0, 0,
2613 0,0x2D6C};
2614
2615 /* page 27 0x32A0-0x32A8 */
2616-static uint16 tab_uni_jisx020827[]={
2617+static const uint16 tab_uni_jisx020827[]={
2618 0, 0, 0, 0,0x2D65,0x2D66,0x2D67,0x2D68,
2619 0x2D69};
2620
2621 /* page 28 0x3300-0x33CD */
2622-static uint16 tab_uni_jisx020828[]={
2623+static const uint16 tab_uni_jisx020828[]={
2624 0, 0, 0,0x2D46, 0, 0, 0, 0,
2625 0, 0, 0, 0, 0,0x2D4A, 0, 0,
2626 0, 0, 0, 0,0x2D41, 0, 0, 0,
2627@@ -1796,7 +1797,7 @@
2628 0, 0, 0, 0, 0,0x2D63};
2629
2630 /* page 29 0x4E00-0x5516 */
2631-static uint16 tab_uni_jisx020829[]={
2632+static const uint16 tab_uni_jisx020829[]={
2633 0x306C,0x437A, 0,0x3C37, 0, 0, 0,0x4B7C,
2634 0x3E66,0x3B30,0x3E65,0x323C, 0,0x4954,0x4D3F, 0,
2635 0x5022,0x312F, 0, 0,0x336E,0x5023,0x4024,0x5242,
2636@@ -2026,7 +2027,7 @@
2637 0x4562, 0, 0, 0,0x532A, 0,0x3022};
2638
2639 /* page 30 0x552E-0x5563 */
2640-static uint16 tab_uni_jisx020830[]={
2641+static const uint16 tab_uni_jisx020830[]={
2642 0x5334,0x4D23, 0,0x3E27, 0,0x533A, 0, 0,
2643 0, 0,0x5339,0x5330, 0, 0, 0, 0,
2644 0x4243, 0,0x5331, 0, 0, 0,0x426F,0x5336,
2645@@ -2036,7 +2037,7 @@
2646 0, 0, 0, 0, 0,0x5332};
2647
2648 /* page 31 0x557B-0x576A */
2649-static uint16 tab_uni_jisx020831[]={
2650+static const uint16 tab_uni_jisx020831[]={
2651 0x5341,0x5346, 0,0x5342, 0,0x533D, 0, 0,
2652 0x5347,0x4131, 0, 0,0x5349, 0,0x3922,0x533F,
2653 0x437D, 0, 0, 0, 0, 0, 0, 0,
2654@@ -2102,7 +2103,7 @@
2655 };
2656
2657 /* page 32 0x577F-0x5A9B */
2658-static uint16 tab_uni_jisx020832[]={
2659+static const uint16 tab_uni_jisx020832[]={
2660 0x5434, 0, 0,0x3F62, 0, 0, 0, 0,
2661 0,0x5432,0x5435, 0,0x373F, 0, 0, 0,
2662 0, 0, 0, 0,0x5436, 0, 0, 0,
2663@@ -2205,7 +2206,7 @@
2664 0, 0, 0,0x553B,0x4932};
2665
2666 /* page 33 0x5ABC-0x5D29 */
2667-static uint16 tab_uni_jisx020833[]={
2668+static const uint16 tab_uni_jisx020833[]={
2669 0x553C,0x5540,0x553D, 0, 0,0x3247,0x553F, 0,
2670 0, 0, 0, 0, 0,0x3C3B, 0,0x553E,
2671 0x3779, 0, 0, 0,0x554C, 0, 0, 0,
2672@@ -2286,7 +2287,7 @@
2673 0, 0, 0, 0, 0,0x4A78};
2674
2675 /* page 34 0x5D4B-0x6BF3 */
2676-static uint16 tab_uni_jisx020834[]={
2677+static const uint16 tab_uni_jisx020834[]={
2678 0x564B,0x5648, 0,0x564A, 0,0x4D72, 0,0x5649,
2679 0, 0, 0, 0, 0, 0, 0, 0,
2680 0,0x563F, 0, 0, 0, 0, 0, 0,
2681@@ -2759,7 +2760,7 @@
2682 0x5D5E};
2683
2684 /* page 35 0x6C08-0x6CF3 */
2685-static uint16 tab_uni_jisx020835[]={
2686+static const uint16 tab_uni_jisx020835[]={
2687 0x5D61, 0, 0, 0, 0, 0, 0,0x3B61,
2688 0,0x4C31, 0,0x5D62,0x5D63, 0, 0,0x3524,
2689 0, 0, 0,0x5D64, 0, 0, 0, 0,
2690@@ -2792,7 +2793,7 @@
2691 0x4259,0x5D76, 0,0x314B};
2692
2693 /* page 36 0x6D0B-0x7409 */
2694-static uint16 tab_uni_jisx020836[]={
2695+static const uint16 tab_uni_jisx020836[]={
2696 0x4D4E,0x5E30, 0, 0, 0, 0, 0,0x5E2F,
2697 0, 0, 0, 0,0x4076, 0,0x5E2C, 0,
2698 0x4D6C, 0, 0,0x4636,0x5E26, 0, 0, 0,
2699@@ -3019,7 +3020,7 @@
2700 0x3565, 0,0x6066,0x4D7D, 0, 0,0x4E30};
2701
2702 /* page 37 0x7422-0x7845 */
2703-static uint16 tab_uni_jisx020837[]={
2704+static const uint16 tab_uni_jisx020837[]={
2705 0x4276, 0, 0,0x6068, 0, 0, 0, 0,
2706 0, 0, 0, 0, 0, 0, 0, 0,
2707 0x606A,0x4E56,0x3657,0x487C,0x474A, 0, 0, 0,
2708@@ -3155,7 +3156,7 @@
2709 0, 0, 0,0x626B};
2710
2711 /* page 38 0x785D-0x7E9C */
2712-static uint16 tab_uni_jisx020838[]={
2713+static const uint16 tab_uni_jisx020838[]={
2714 0x3E4B, 0, 0, 0, 0, 0, 0, 0,
2715 0, 0, 0, 0, 0, 0,0x4E32,0x3945,
2716 0, 0,0x3827, 0, 0,0x4823, 0,0x626D,
2717@@ -3359,7 +3360,7 @@
2718 };
2719
2720 /* page 39 0x7F36-0x8358 */
2721-static uint16 tab_uni_jisx020839[]={
2722+static const uint16 tab_uni_jisx020839[]={
2723 0x344C, 0,0x657D, 0,0x657E, 0, 0, 0,
2724 0, 0, 0, 0, 0, 0, 0,0x6621,
2725 0, 0, 0, 0, 0, 0,0x6622,0x6623,
2726@@ -3495,7 +3496,7 @@
2727 0, 0,0x4171};
2728
2729 /* page 40 0x8373-0x8B9A */
2730-static uint16 tab_uni_jisx020840[]={
2731+static const uint16 tab_uni_jisx020840[]={
2732 0x683A, 0,0x683B, 0,0x3259, 0, 0, 0,
2733 0x322E,0x6838, 0, 0, 0, 0, 0, 0,
2734 0, 0,0x682E, 0,0x6836, 0,0x683D,0x6837,
2735@@ -3760,7 +3761,7 @@
2736 };
2737
2738 /* page 41 0x8C37-0x8D16 */
2739-static uint16 tab_uni_jisx020841[]={
2740+static const uint16 tab_uni_jisx020841[]={
2741 0x432B, 0, 0,0x6C2E, 0, 0, 0, 0,
2742 0x6C30, 0,0x6C2F, 0, 0, 0, 0,0x4626,
2743 0,0x6C31, 0,0x4B2D, 0,0x6C32, 0,0x6C33,
2744@@ -3792,7 +3793,7 @@
2745 };
2746
2747 /* page 42 0x8D64-0x8F64 */
2748-static uint16 tab_uni_jisx020842[]={
2749+static const uint16 tab_uni_jisx020842[]={
2750 0x4056, 0,0x3C4F,0x6C5F, 0, 0, 0,0x3352,
2751 0,0x6C60, 0, 0,0x4176,0x6C61, 0,0x6C62,
2752 0x496B, 0, 0,0x352F, 0, 0, 0, 0,
2753@@ -3860,7 +3861,7 @@
2754 0x6D62};
2755
2756 /* page 43 0x8F9B-0x9132 */
2757-static uint16 tab_uni_jisx020843[]={
2758+static const uint16 tab_uni_jisx020843[]={
2759 0x3F49,0x6D63, 0,0x3C2D,0x6D64, 0, 0, 0,
2760 0x6D65, 0, 0, 0,0x5221,0x517E, 0, 0,
2761 0, 0,0x6D66,0x6570,0x6D67,0x4324,0x3F2B,0x4740,
2762@@ -3915,7 +3916,7 @@
2763 };
2764
2765 /* page 44 0x9149-0x92B9 */
2766-static uint16 tab_uni_jisx020844[]={
2767+static const uint16 tab_uni_jisx020844[]={
2768 0x4653,0x6E44,0x3D36,0x3C60,0x475B,0x4371, 0, 0,
2769 0,0x3C72, 0,0x3F6C, 0,0x6E45, 0,0x6E46,
2770 0, 0, 0, 0, 0, 0, 0, 0,
2771@@ -3965,7 +3966,7 @@
2772 0x6E78};
2773
2774 /* page 45 0x92CF-0x93E8 */
2775-static uint16 tab_uni_jisx020845[]={
2776+static const uint16 tab_uni_jisx020845[]={
2777 0x6E77, 0, 0,0x4B2F, 0, 0, 0, 0,
2778 0, 0, 0, 0, 0, 0, 0, 0,
2779 0, 0, 0, 0, 0,0x3D7B, 0, 0,
2780@@ -4004,7 +4005,7 @@
2781 0,0x6F34};
2782
2783 /* page 46 0x9403-0x9481 */
2784-static uint16 tab_uni_jisx020846[]={
2785+static const uint16 tab_uni_jisx020846[]={
2786 0x6F3F, 0, 0, 0,0x6F40, 0, 0, 0,
2787 0, 0, 0, 0, 0,0x6F41, 0, 0,
2788 0x6F3E,0x6F3D, 0, 0, 0,0x3E62,0x462A,0x6F3C,
2789@@ -4023,7 +4024,7 @@
2790 0,0x6F55,0x6F53,0x6F56,0x6F58, 0,0x6F57};
2791
2792 /* page 47 0x9577-0x95E5 */
2793-static uint16 tab_uni_jisx020847[]={
2794+static const uint16 tab_uni_jisx020847[]={
2795 0x4439, 0, 0, 0, 0, 0, 0, 0,
2796 0,0x4C67, 0,0x6F59,0x412E, 0, 0, 0,
2797 0x6F5A, 0,0x4A44,0x6F5B,0x332B, 0, 0, 0,
2798@@ -4040,7 +4041,7 @@
2799 0, 0,0x6F71,0x6F73, 0, 0,0x6F72};
2800
2801 /* page 48 0x961C-0x9874 */
2802-static uint16 tab_uni_jisx020848[]={
2803+static const uint16 tab_uni_jisx020848[]={
2804 0x496C, 0, 0, 0, 0,0x6F74, 0, 0,
2805 0, 0, 0, 0,0x6F75, 0,0x3A65, 0,
2806 0, 0,0x6F76,0x6F77, 0, 0,0x4B49, 0,
2807@@ -4119,14 +4120,14 @@
2808 0x7122};
2809
2810 /* page 49 0x98A8-0x98C6 */
2811-static uint16 tab_uni_jisx020849[]={
2812+static const uint16 tab_uni_jisx020849[]={
2813 0x4977, 0,0x7124, 0, 0, 0, 0,0x7125,
2814 0,0x7126, 0, 0, 0, 0,0x7127, 0,
2815 0, 0, 0, 0, 0, 0, 0, 0,
2816 0, 0, 0,0x7129,0x7128, 0,0x712A};
2817
2818 /* page 50 0x98DB-0x9957 */
2819-static uint16 tab_uni_jisx020850[]={
2820+static const uint16 tab_uni_jisx020850[]={
2821 0x4874,0x664C, 0, 0,0x3F29, 0, 0,0x3532,
2822 0, 0, 0, 0, 0, 0,0x712B, 0,
2823 0x712C, 0,0x522C,0x5D3B,0x4853, 0, 0,0x307B,
2824@@ -4145,7 +4146,7 @@
2825 0, 0,0x7143, 0,0x3642};
2826
2827 /* page 51 0x9996-0x9A6B */
2828-static uint16 tab_uni_jisx020851[]={
2829+static const uint16 tab_uni_jisx020851[]={
2830 0x3C73,0x7144,0x7145,0x3961, 0, 0, 0, 0,
2831 0, 0, 0, 0, 0, 0, 0,0x7146,
2832 0, 0,0x333E, 0, 0, 0,0x474F,0x7147,
2833@@ -4175,7 +4176,7 @@
2834 0, 0, 0,0x7169,0x716B,0x716A};
2835
2836 /* page 52 0x9AA8-0x9B5A */
2837-static uint16 tab_uni_jisx020852[]={
2838+static const uint16 tab_uni_jisx020852[]={
2839 0x397C, 0, 0, 0, 0,0x716C, 0, 0,
2840 0x716D, 0, 0, 0, 0, 0, 0, 0,
2841 0x333C, 0, 0, 0,0x716E, 0, 0, 0,
2842@@ -4201,7 +4202,7 @@
2843 0x7236, 0,0x357B};
2844
2845 /* page 53 0x9B6F-0x9C78 */
2846-static uint16 tab_uni_jisx020853[]={
2847+static const uint16 tab_uni_jisx020853[]={
2848 0x4F25, 0, 0, 0, 0,0x7237, 0, 0,
2849 0, 0, 0, 0, 0, 0, 0, 0,
2850 0, 0, 0, 0,0x7239, 0, 0, 0,
2851@@ -4238,7 +4239,7 @@
2852 0,0x7269};
2853
2854 /* page 54 0x9CE5-0x9DFD */
2855-static uint16 tab_uni_jisx020854[]={
2856+static const uint16 tab_uni_jisx020854[]={
2857 0x443B, 0,0x726A, 0,0x4837, 0,0x726F,0x726B,
2858 0, 0, 0,0x726C, 0, 0,0x4B31,0x4C44,
2859 0,0x4650, 0, 0, 0, 0, 0, 0,
2860@@ -4277,11 +4278,11 @@
2861 0x733F};
2862
2863 /* page 55 0x9E1A-0x9E1E */
2864-static uint16 tab_uni_jisx020855[]={
2865+static const uint16 tab_uni_jisx020855[]={
2866 0x7340,0x7341, 0, 0,0x7342};
2867
2868 /* page 56 0x9E75-0x9F77 */
2869-static uint16 tab_uni_jisx020856[]={
2870+static const uint16 tab_uni_jisx020856[]={
2871 0x7343, 0, 0,0x3834,0x7344, 0, 0, 0,
2872 0x7345, 0,0x3C2F, 0,0x7346, 0, 0, 0,
2873 0, 0, 0,0x7347, 0, 0,0x7348,0x7349,
2874@@ -4317,13 +4318,13 @@
2875 0,0x737B,0x7379};
2876
2877 /* page 57 0x9F8D-0x9FA0 */
2878-static uint16 tab_uni_jisx020857[]={
2879+static const uint16 tab_uni_jisx020857[]={
2880 0x4E36, 0, 0, 0, 0, 0, 0, 0,
2881 0x737C, 0, 0, 0, 0, 0, 0,0x737D,
2882 0x6354, 0, 0,0x737E};
2883
2884 /* page 58 0xFF01-0xFF5E */
2885-static uint16 tab_uni_jisx020858[]={
2886+static const uint16 tab_uni_jisx020858[]={
2887 0x212A, 0,0x2174,0x2170,0x2173,0x2175, 0,0x214A,
2888 0x214B,0x2176,0x215C,0x2124,0x215D,0x2125,0x213F,0x2330,
2889 0x2331,0x2332,0x2333,0x2334,0x2335,0x2336,0x2337,0x2338,
2890@@ -4338,7 +4339,7 @@
2891 0x2379,0x237A,0x2150,0x2143,0x2151,0x2141};
2892
2893 /* page 59 0xFFE0-0xFFE5 */
2894-static uint16 tab_uni_jisx020859[]={
2895+static const uint16 tab_uni_jisx020859[]={
2896 0x2171,0x2172,0x224C,0x2131, 0,0x216F};
2897
2898 static int
2899@@ -4468,11 +4469,11 @@
2900
2901
2902 /* page 0 0x007E-0x007E */
2903-static uint16 tab_uni_jisx02120[]={
2904+static const uint16 tab_uni_jisx02120[]={
2905 0};
2906
2907 /* page 1 0x00A1-0x017E */
2908-static uint16 tab_uni_jisx02121[]={
2909+static const uint16 tab_uni_jisx02121[]={
2910 0x2242, 0, 0,0x2270, 0, 0, 0, 0,
2911 0x226D,0x226C, 0, 0, 0,0x226E,0x2234, 0,
2912 0, 0, 0, 0, 0, 0, 0,0x2231,
2913@@ -4503,28 +4504,28 @@
2914 0x2A75,0x2B75,0x2A77,0x2B77,0x2A76,0x2B76};
2915
2916 /* page 2 0x01CD-0x01DC */
2917-static uint16 tab_uni_jisx02122[]={
2918+static const uint16 tab_uni_jisx02122[]={
2919 0x2A26,0x2B26,0x2A43,0x2B43,0x2A55,0x2B55,0x2A67,0x2B67,
2920 0x2A70,0x2B70,0x2A6D,0x2B6D,0x2A6F,0x2B6F,0x2A6E,0x2B6E
2921 };
2922
2923 /* page 3 0x01F5-0x01F5 */
2924-static uint16 tab_uni_jisx02123[]={
2925+static const uint16 tab_uni_jisx02123[]={
2926 0x2B39};
2927
2928 /* page 4 0x02C7-0x02DD */
2929-static uint16 tab_uni_jisx02124[]={
2930+static const uint16 tab_uni_jisx02124[]={
2931 0x2230, 0, 0, 0, 0, 0, 0, 0,
2932 0, 0, 0, 0, 0, 0, 0, 0,
2933 0,0x222F,0x2232,0x2236,0x2235, 0,0x2233};
2934
2935 /* page 5 0x0384-0x0390 */
2936-static uint16 tab_uni_jisx02125[]={
2937+static const uint16 tab_uni_jisx02125[]={
2938 0x2238,0x2239,0x2661, 0,0x2662,0x2663,0x2664, 0,
2939 0x2667, 0,0x2669,0x266C,0x2676};
2940
2941 /* page 6 0x03AA-0x03CE */
2942-static uint16 tab_uni_jisx02126[]={
2943+static const uint16 tab_uni_jisx02126[]={
2944 0x2665,0x266A,0x2671,0x2672,0x2673,0x2674,0x267B, 0,
2945 0, 0, 0, 0, 0, 0, 0, 0,
2946 0, 0, 0, 0, 0, 0, 0, 0,
2947@@ -4532,26 +4533,26 @@
2948 0x2675,0x267A,0x2677,0x2679,0x267C};
2949
2950 /* page 7 0x0402-0x040F */
2951-static uint16 tab_uni_jisx02127[]={
2952+static const uint16 tab_uni_jisx02127[]={
2953 0x2742,0x2743,0x2744,0x2745,0x2746,0x2747,0x2748,0x2749,
2954 0x274A,0x274B,0x274C, 0,0x274D,0x274E};
2955
2956 /* page 8 0x0452-0x045F */
2957-static uint16 tab_uni_jisx02128[]={
2958+static const uint16 tab_uni_jisx02128[]={
2959 0x2772,0x2773,0x2774,0x2775,0x2776,0x2777,0x2778,0x2779,
2960 0x277A,0x277B,0x277C, 0,0x277D,0x277E};
2961
2962 /* page 9 0x2122-0x2122 */
2963-static uint16 tab_uni_jisx02129[]={
2964+static const uint16 tab_uni_jisx02129[]={
2965 0x226F};
2966
2967 /* page 10 0x2170-0x2179 */
2968-static uint16 tab_uni_jisx021210[]={
2969+static const uint16 tab_uni_jisx021210[]={
2970 0x7373,0x7374,0x7375,0x7376,0x7377,0x7378,0x7379,0x737A,
2971 0x737B,0x737C};
2972
2973 /* page 11 0x4E02-0x4F19 */
2974-static uint16 tab_uni_jisx021211[]={
2975+static const uint16 tab_uni_jisx021211[]={
2976 0x3021, 0,0x3022,0x3023, 0, 0, 0, 0,
2977 0, 0,0x3024, 0, 0, 0, 0, 0,
2978 0x3025, 0, 0, 0, 0, 0, 0, 0,
2979@@ -4590,7 +4591,7 @@
2980 };
2981
2982 /* page 12 0x4F2E-0x5166 */
2983-static uint16 tab_uni_jisx021212[]={
2984+static const uint16 tab_uni_jisx021212[]={
2985 0x305D, 0, 0,0x305E, 0,0x3060, 0,0x3061,
2986 0,0x3062, 0,0x3063, 0,0x3064, 0, 0,
2987 0x3065, 0,0x3066, 0,0x3067, 0, 0, 0,
2988@@ -4665,7 +4666,7 @@
2989 0x326E};
2990
2991 /* page 13 0x517E-0x5515 */
2992-static uint16 tab_uni_jisx021213[]={
2993+static const uint16 tab_uni_jisx021213[]={
2994 0x326F, 0, 0, 0, 0,0x3270,0x3271, 0,
2995 0, 0, 0, 0, 0,0x3272, 0, 0,
2996 0x3273, 0, 0, 0, 0, 0, 0, 0,
2997@@ -4784,7 +4785,7 @@
2998 };
2999
3000 /* page 14 0x552A-0x5566 */
3001-static uint16 tab_uni_jisx021214[]={
3002+static const uint16 tab_uni_jisx021214[]={
3003 0x354E,0x354F, 0, 0, 0, 0, 0, 0,
3004 0x3550, 0, 0,0x3551,0x3552, 0, 0, 0,
3005 0,0x3553,0x3554,0x3555, 0, 0, 0,0x3556,
3006@@ -4795,7 +4796,7 @@
3007 0, 0,0x3563, 0,0x3564};
3008
3009 /* page 15 0x557F-0x5C36 */
3010-static uint16 tab_uni_jisx021215[]={
3011+static const uint16 tab_uni_jisx021215[]={
3012 0x3565, 0,0x3566,0x3567, 0, 0, 0,0x3568,
3013 0,0x3569, 0, 0, 0, 0, 0,0x356A,
3014 0x356B, 0,0x356C,0x356D,0x356E,0x356F, 0, 0,
3015@@ -5014,7 +5015,7 @@
3016 };
3017
3018 /* page 16 0x5C59-0x5EEB */
3019-static uint16 tab_uni_jisx021216[]={
3020+static const uint16 tab_uni_jisx021216[]={
3021 0x3A77,0x3A78, 0,0x3A79, 0, 0, 0, 0,
3022 0,0x3A7A,0x3A7B, 0, 0, 0,0x3A7C,0x3A7D,
3023 0x3A7E, 0, 0, 0,0x3B21, 0, 0,0x3B22,
3024@@ -5100,7 +5101,7 @@
3025 0, 0,0x3C5B};
3026
3027 /* page 17 0x5F02-0x6149 */
3028-static uint16 tab_uni_jisx021217[]={
3029+static const uint16 tab_uni_jisx021217[]={
3030 0x3C5C, 0, 0, 0,0x3C5D,0x3C5E,0x3C5F, 0,
3031 0, 0, 0, 0,0x3C60, 0, 0, 0,
3032 0, 0, 0, 0, 0, 0, 0,0x3C61,
3033@@ -5177,7 +5178,7 @@
3034 };
3035
3036 /* page 18 0x615E-0x6290 */
3037-static uint16 tab_uni_jisx021218[]={
3038+static const uint16 tab_uni_jisx021218[]={
3039 0x3E53, 0,0x3E54, 0, 0, 0, 0, 0,
3040 0, 0, 0, 0, 0, 0,0x3E55, 0,
3041 0, 0, 0, 0,0x3E56, 0, 0, 0,
3042@@ -5219,7 +5220,7 @@
3043 0x3F46,0x3F47,0x3F48};
3044
3045 /* page 19 0x62A6-0x679B */
3046-static uint16 tab_uni_jisx021219[]={
3047+static const uint16 tab_uni_jisx021219[]={
3048 0x3F49, 0,0x3F4A, 0, 0, 0, 0, 0,
3049 0, 0, 0, 0, 0,0x3F4B, 0, 0,
3050 0x3F4C,0x3F4D, 0, 0,0x3F4E, 0, 0, 0,
3051@@ -5381,7 +5382,7 @@
3052 0x432D, 0,0x432E,0x432F, 0,0x4330};
3053
3054 /* page 20 0x67B0-0x6801 */
3055-static uint16 tab_uni_jisx021220[]={
3056+static const uint16 tab_uni_jisx021220[]={
3057 0x4331,0x4332,0x4333, 0, 0,0x4334, 0, 0,
3058 0, 0, 0,0x4335,0x4336,0x4337, 0, 0,
3059 0x4339, 0,0x433A,0x433B, 0,0x433C, 0, 0,
3060@@ -5395,7 +5396,7 @@
3061 0,0x7446};
3062
3063 /* page 21 0x6814-0x6917 */
3064-static uint16 tab_uni_jisx021221[]={
3065+static const uint16 tab_uni_jisx021221[]={
3066 0x434A, 0, 0, 0, 0,0x434B, 0, 0,
3067 0,0x434C, 0,0x434D, 0, 0, 0, 0,
3068 0, 0, 0,0x434F,0x434E, 0, 0, 0,
3069@@ -5431,7 +5432,7 @@
3070 0, 0,0x443B,0x443C};
3071
3072 /* page 22 0x6931-0x6D3F */
3073-static uint16 tab_uni_jisx021222[]={
3074+static const uint16 tab_uni_jisx021222[]={
3075 0x443D, 0,0x443E, 0,0x443F, 0, 0,0x4440,
3076 0, 0,0x4441, 0, 0, 0, 0, 0,
3077 0,0x4442, 0, 0,0x4443, 0, 0, 0,
3078@@ -5564,7 +5565,7 @@
3079 0x473A, 0, 0,0x473B, 0, 0,0x473C};
3080
3081 /* page 23 0x6D57-0x6E04 */
3082-static uint16 tab_uni_jisx021223[]={
3083+static const uint16 tab_uni_jisx021223[]={
3084 0x473D, 0, 0, 0, 0, 0, 0,0x473E,
3085 0x473F, 0,0x4740, 0, 0, 0,0x4741, 0,
3086 0x4742, 0, 0, 0, 0, 0, 0, 0,
3087@@ -5589,7 +5590,7 @@
3088 0,0x4767, 0, 0, 0,0x4768};
3089
3090 /* page 24 0x6E1E-0x6ECF */
3091-static uint16 tab_uni_jisx021224[]={
3092+static const uint16 tab_uni_jisx021224[]={
3093 0x4769, 0, 0, 0,0x476A, 0, 0, 0,
3094 0,0x476B, 0, 0, 0, 0, 0, 0,
3095 0, 0, 0, 0,0x476C, 0, 0, 0,
3096@@ -5615,7 +5616,7 @@
3097 0x4839,0x483A};
3098
3099 /* page 25 0x6EEB-0x70E4 */
3100-static uint16 tab_uni_jisx021225[]={
3101+static const uint16 tab_uni_jisx021225[]={
3102 0x483B, 0,0x483C,0x483D, 0, 0, 0, 0,
3103 0, 0, 0, 0, 0, 0,0x483E, 0,
3104 0x483F, 0,0x4840, 0, 0, 0, 0, 0,
3105@@ -5682,7 +5683,7 @@
3106 0,0x4960};
3107
3108 /* page 26 0x70FA-0x71DC */
3109-static uint16 tab_uni_jisx021226[]={
3110+static const uint16 tab_uni_jisx021226[]={
3111 0x4961, 0, 0, 0, 0, 0, 0, 0,
3112 0,0x4962,0x4963,0x4964,0x4965,0x4966, 0, 0,
3113 0,0x4967,0x4968, 0, 0,0x4969, 0, 0,
3114@@ -5714,7 +5715,7 @@
3115 0x4A3A, 0,0x4A3B};
3116
3117 /* page 27 0x71F8-0x7E9E */
3118-static uint16 tab_uni_jisx021227[]={
3119+static const uint16 tab_uni_jisx021227[]={
3120 0x4A3C, 0, 0, 0, 0, 0,0x4A3D, 0,
3121 0x4A3E, 0, 0, 0, 0, 0, 0,0x4A3F,
3122 0x4A40,0x4A41, 0, 0, 0, 0, 0, 0,
3123@@ -6122,7 +6123,7 @@
3124 0x5467, 0,0x5468, 0, 0,0x5469,0x546A};
3125
3126 /* page 28 0x7F3B-0x8044 */
3127-static uint16 tab_uni_jisx021228[]={
3128+static const uint16 tab_uni_jisx021228[]={
3129 0x546C,0x546B,0x546D,0x546E,0x546F, 0, 0, 0,
3130 0x5470,0x5471, 0, 0,0x5472, 0, 0, 0,
3131 0, 0, 0, 0,0x5473, 0, 0,0x5474,
3132@@ -6159,7 +6160,7 @@
3133 0,0x5563};
3134
3135 /* page 29 0x8060-0x8362 */
3136-static uint16 tab_uni_jisx021229[]={
3137+static const uint16 tab_uni_jisx021229[]={
3138 0x5564, 0, 0, 0,0x5565, 0,0x5566, 0,
3139 0, 0, 0, 0, 0,0x5567, 0, 0,
3140 0,0x5568, 0, 0, 0,0x5569, 0, 0,
3141@@ -6259,7 +6260,7 @@
3142 0, 0,0x745F};
3143
3144 /* page 30 0x8370-0x8419 */
3145-static uint16 tab_uni_jisx021230[]={
3146+static const uint16 tab_uni_jisx021230[]={
3147 0x577D, 0, 0, 0, 0, 0, 0, 0,
3148 0x577E, 0, 0, 0, 0,0x5821, 0,0x5822,
3149 0x5823, 0,0x5824, 0,0x5825, 0,0x5826, 0,
3150@@ -6284,7 +6285,7 @@
3151 0,0x584B};
3152
3153 /* page 31 0x842F-0x8880 */
3154-static uint16 tab_uni_jisx021231[]={
3155+static const uint16 tab_uni_jisx021231[]={
3156 0x584D, 0, 0, 0, 0, 0, 0, 0,
3157 0, 0,0x584E, 0, 0, 0, 0, 0,
3158 0, 0, 0, 0, 0, 0,0x584F, 0,
3159@@ -6426,7 +6427,7 @@
3160 0,0x5C38};
3161
3162 /* page 32 0x8898-0x89BC */
3163-static uint16 tab_uni_jisx021232[]={
3164+static const uint16 tab_uni_jisx021232[]={
3165 0x5C39, 0,0x5C3A,0x5C3B,0x5C3C, 0, 0,0x5C3D,
3166 0x5C3E, 0, 0, 0, 0, 0, 0, 0,
3167 0x5C3F, 0,0x5C40, 0, 0, 0, 0, 0,
3168@@ -6466,7 +6467,7 @@
3169 0, 0, 0, 0,0x5D33};
3170
3171 /* page 33 0x89D4-0x8B9F */
3172-static uint16 tab_uni_jisx021233[]={
3173+static const uint16 tab_uni_jisx021233[]={
3174 0x5D34,0x5D35,0x5D36,0x5D37,0x5D38, 0, 0, 0,
3175 0, 0, 0, 0, 0, 0, 0, 0,
3176 0,0x5D39, 0, 0, 0,0x5D3A, 0,0x5D3B,
3177@@ -6527,7 +6528,7 @@
3178 0x5E5F, 0,0x5E60,0x5E61};
3179
3180 /* page 34 0x8C38-0x8CA4 */
3181-static uint16 tab_uni_jisx021234[]={
3182+static const uint16 tab_uni_jisx021234[]={
3183 0x5E62,0x5E63, 0, 0, 0,0x5E64,0x5E65, 0,
3184 0, 0, 0, 0, 0,0x5E66, 0,0x5E67,
3185 0,0x5E68, 0,0x5E69, 0, 0, 0,0x5E6A,
3186@@ -6544,7 +6545,7 @@
3187 0, 0, 0, 0,0x5F29};
3188
3189 /* page 35 0x8CB9-0x8D1B */
3190-static uint16 tab_uni_jisx021235[]={
3191+static const uint16 tab_uni_jisx021235[]={
3192 0x5F2A,0x5F2B, 0, 0, 0, 0, 0, 0,
3193 0, 0, 0, 0,0x5F2C,0x5F2D, 0, 0,
3194 0x5F2E, 0,0x5F2F, 0, 0, 0,0x5F30, 0,
3195@@ -6560,7 +6561,7 @@
3196 0, 0,0x5F45};
3197
3198 /* page 36 0x8D65-0x8F65 */
3199-static uint16 tab_uni_jisx021236[]={
3200+static const uint16 tab_uni_jisx021236[]={
3201 0x5F46, 0, 0, 0,0x5F47, 0, 0,0x5F48,
3202 0,0x5F49, 0, 0, 0, 0, 0, 0,
3203 0,0x7468, 0, 0, 0, 0, 0, 0,
3204@@ -6628,7 +6629,7 @@
3205 0x612C};
3206
3207 /* page 37 0x8F9D-0x9484 */
3208-static uint16 tab_uni_jisx021237[]={
3209+static const uint16 tab_uni_jisx021237[]={
3210 0x612D, 0, 0,0x612E,0x612F, 0, 0,0x6130,
3211 0x6131,0x6132, 0, 0, 0, 0, 0, 0,
3212 0, 0, 0, 0, 0, 0, 0, 0,
3213@@ -6789,7 +6790,7 @@
3214 };
3215
3216 /* page 38 0x9578-0x95E6 */
3217-static uint16 tab_uni_jisx021238[]={
3218+static const uint16 tab_uni_jisx021238[]={
3219 0x657D,0x657E, 0, 0, 0, 0,0x6621, 0,
3220 0, 0, 0, 0,0x6622, 0, 0, 0,
3221 0x6623, 0, 0, 0,0x6624,0x6625,0x6626, 0,
3222@@ -6806,7 +6807,7 @@
3223 0x6641, 0, 0, 0,0x6642, 0,0x6643};
3224
3225 /* page 39 0x961D-0x986C */
3226-static uint16 tab_uni_jisx021239[]={
3227+static const uint16 tab_uni_jisx021239[]={
3228 0x6644,0x6645, 0, 0, 0,0x6646, 0,0x6647,
3229 0x6648,0x6649, 0, 0, 0, 0, 0,0x664A,
3230 0, 0, 0, 0,0x664B, 0,0x664C, 0,
3231@@ -6884,7 +6885,7 @@
3232 };
3233
3234 /* page 40 0x98AB-0x98CC */
3235-static uint16 tab_uni_jisx021240[]={
3236+static const uint16 tab_uni_jisx021240[]={
3237 0x683A, 0,0x683B,0x683C, 0,0x683D, 0, 0,
3238 0,0x683E, 0, 0,0x683F,0x6840, 0,0x6841,
3239 0x6842, 0, 0, 0,0x6843, 0, 0,0x6844,
3240@@ -6892,7 +6893,7 @@
3241 0,0x6847};
3242
3243 /* page 41 0x98E1-0x9960 */
3244-static uint16 tab_uni_jisx021241[]={
3245+static const uint16 tab_uni_jisx021241[]={
3246 0x6848, 0,0x6849, 0,0x684A,0x684B,0x684C, 0,
3247 0,0x684D, 0, 0, 0, 0, 0, 0,
3248 0, 0,0x684E, 0, 0,0x684F, 0, 0,
3249@@ -6912,7 +6913,7 @@
3250 };
3251
3252 /* page 42 0x999B-0x9A5D */
3253-static uint16 tab_uni_jisx021242[]={
3254+static const uint16 tab_uni_jisx021242[]={
3255 0x6877, 0,0x6878,0x747A,0x6879, 0, 0, 0,
3256 0, 0, 0,0x687A, 0, 0, 0, 0,
3257 0, 0, 0, 0, 0,0x687B,0x687C,0x687D,
3258@@ -6940,7 +6941,7 @@
3259 0, 0,0x6955};
3260
3261 /* page 43 0x9AAA-0x9C7B */
3262-static uint16 tab_uni_jisx021243[]={
3263+static const uint16 tab_uni_jisx021243[]={
3264 0x6956, 0,0x6957, 0,0x6958,0x6959, 0, 0,
3265 0x695A, 0,0x695B,0x695C,0x695D, 0, 0,0x695E,
3266 0,0x695F, 0, 0,0x6960,0x6961, 0,0x6962,
3267@@ -7002,7 +7003,7 @@
3268 0,0x6B58};
3269
3270 /* page 44 0x9CE6-0x9E1D */
3271-static uint16 tab_uni_jisx021244[]={
3272+static const uint16 tab_uni_jisx021244[]={
3273 0x6B59, 0, 0, 0, 0, 0, 0, 0,
3274 0, 0, 0, 0,0x6B5A, 0, 0, 0,
3275 0,0x6B5B, 0,0x6B5C, 0, 0, 0, 0,
3276@@ -7045,7 +7046,7 @@
3277 };
3278
3279 /* page 45 0x9E7A-0x9FA5 */
3280-static uint16 tab_uni_jisx021245[]={
3281+static const uint16 tab_uni_jisx021245[]={
3282 0x6C59,0x6C5A,0x6C5B, 0, 0, 0,0x6C5C, 0,
3283 0x6C5D,0x6C5E,0x6C5F,0x6C60, 0,0x6C61, 0, 0,
3284 0, 0, 0, 0,0x6C62,0x6C63, 0, 0,
3285@@ -7086,15 +7087,15 @@
3286 0x6D61,0x6D62, 0,0x6D63};
3287
3288 /* page 46 0xF929-0xF929 */
3289-static uint16 tab_uni_jisx021246[]={
3290+static const uint16 tab_uni_jisx021246[]={
3291 0x7445};
3292
3293 /* page 47 0xF9DC-0xF9DC */
3294-static uint16 tab_uni_jisx021247[]={
3295+static const uint16 tab_uni_jisx021247[]={
3296 0x7472};
3297
3298 /* page 48 0xFA00-0xFA2D */
3299-static uint16 tab_uni_jisx021248[]={
3300+static const uint16 tab_uni_jisx021248[]={
3301 0, 0, 0, 0, 0, 0, 0, 0,
3302 0, 0, 0, 0, 0, 0,0x7434,0x7437,
3303 0x7438,0x743D,0x7444,0x7447,0x7448,0x744E,0x744F,0x7453,
3304@@ -7103,11 +7104,11 @@
3305 0x7470,0x7473,0x7477,0x7478,0x7479,0x747D};
3306
3307 /* page 49 0xFF00-0XFF07 */
3308-static uint16 tab_uni_jisx021249[]={
3309+static const uint16 tab_uni_jisx021249[]={
3310 0, 0,0x742A, 0, 0, 0, 0,0x7429};
3311
3312 /* page 50 0xFFE4-0xFFE4 */
3313-static uint16 tab_uni_jisx021250[]={
3314+static const uint16 tab_uni_jisx021250[]={
3315 0x2243};
3316
3317 static int
3318@@ -7218,34 +7219,34 @@
3319 }
3320
3321 /* page 0 0x222F-0x2244 */
3322-static uint16 tab_jisx0212_uni0[]={
3323+static const uint16 tab_jisx0212_uni0[]={
3324 0x02D8,0x02C7,0x00B8,0x02D9,0x02DD,0x00AF,0x02DB,0x02DA,
3325 0xFF5E,0x0384,0x0385, 0, 0, 0, 0, 0,
3326 0, 0, 0,0x00A1,0xFFE4,0x00BF};
3327
3328 /* page 1 0x226B-0x2271 */
3329-static uint16 tab_jisx0212_uni1[]={
3330+static const uint16 tab_jisx0212_uni1[]={
3331 0x00BA,0x00AA,0x00A9,0x00AE,0x2122,0x00A4,0x2116};
3332
3333 /* page 2 0x2661-0x267C */
3334-static uint16 tab_jisx0212_uni2[]={
3335+static const uint16 tab_jisx0212_uni2[]={
3336 0x0386,0x0388,0x0389,0x038A,0x03AA, 0,0x038C, 0,
3337 0x038E,0x03AB, 0,0x038F, 0, 0, 0, 0,
3338 0x03AC,0x03AD,0x03AE,0x03AF,0x03CA,0x0390,0x03CC,0x03C2,
3339 0x03CD,0x03CB,0x03B0,0x03CE};
3340
3341 /* page 3 0x2742-0x274E */
3342-static uint16 tab_jisx0212_uni3[]={
3343+static const uint16 tab_jisx0212_uni3[]={
3344 0x0402,0x0403,0x0404,0x0405,0x0406,0x0407,0x0408,0x0409,
3345 0x040A,0x040B,0x040C,0x040E,0x040F};
3346
3347 /* page 4 0x2772-0x277E */
3348-static uint16 tab_jisx0212_uni4[]={
3349+static const uint16 tab_jisx0212_uni4[]={
3350 0x0452,0x0453,0x0454,0x0455,0x0456,0x0457,0x0458,0x0459,
3351 0x045A,0x045B,0x045C,0x045E,0x045F};
3352
3353 /* page 5 0x2921-0x2950 */
3354-static uint16 tab_jisx0212_uni5[]={
3355+static const uint16 tab_jisx0212_uni5[]={
3356 0x00C6,0x0110, 0,0x0126, 0,0x0132, 0,0x0141,
3357 0x013F, 0,0x014A,0x00D8,0x0152, 0,0x0166,0x00DE,
3358 0, 0, 0, 0, 0, 0, 0, 0,
3359@@ -7255,7 +7256,7 @@
3360 };
3361
3362 /* page 6 0x2A21-0x2A77 */
3363-static uint16 tab_jisx0212_uni6[]={
3364+static const uint16 tab_jisx0212_uni6[]={
3365 0x00C1,0x00C0,0x00C4,0x00C2,0x0102,0x01CD,0x0100,0x0104,
3366 0x00C5,0x00C3,0x0106,0x0108,0x010C,0x00C7,0x010A,0x010E,
3367 0x00C9,0x00C8,0x00CB,0x00CA,0x011A,0x0116,0x0112,0x0118,
3368@@ -7269,7 +7270,7 @@
3369 0x0174,0x00DD,0x0178,0x0176,0x0179,0x017D,0x017B};
3370
3371 /* page 7 0x2B21-0x2B77 */
3372-static uint16 tab_jisx0212_uni7[]={
3373+static const uint16 tab_jisx0212_uni7[]={
3374 0x00E1,0x00E0,0x00E4,0x00E2,0x0103,0x01CE,0x0101,0x0105,
3375 0x00E5,0x00E3,0x0107,0x0109,0x010D,0x00E7,0x010B,0x010F,
3376 0x00E9,0x00E8,0x00EB,0x00EA,0x011B,0x0117,0x0113,0x0119,
3377@@ -7283,7 +7284,7 @@
3378 0x0175,0x00FD,0x00FF,0x0177,0x017A,0x017E,0x017C};
3379
3380 /* page 8 0x3021-0x307E */
3381-static uint16 tab_jisx0212_uni8[]={
3382+static const uint16 tab_jisx0212_uni8[]={
3383 0x4E02,0x4E04,0x4E05,0x4E0C,0x4E12,0x4E1F,0x4E23,0x4E24,
3384 0x4E28,0x4E2B,0x4E2E,0x4E2F,0x4E30,0x4E35,0x4E40,0x4E41,
3385 0x4E44,0x4E47,0x4E51,0x4E5A,0x4E5C,0x4E63,0x4E68,0x4E69,
3386@@ -7298,7 +7299,7 @@
3387 0x4F7A,0x4F7D,0x4F7E,0x4F81,0x4F82,0x4F84};
3388
3389 /* page 9 0x3121-0x317E */
3390-static uint16 tab_jisx0212_uni9[]={
3391+static const uint16 tab_jisx0212_uni9[]={
3392 0x4F85,0x4F89,0x4F8A,0x4F8C,0x4F8E,0x4F90,0x4F92,0x4F93,
3393 0x4F94,0x4F97,0x4F99,0x4F9A,0x4F9E,0x4F9F,0x4FB2,0x4FB7,
3394 0x4FB9,0x4FBB,0x4FBC,0x4FBD,0x4FBE,0x4FC0,0x4FC1,0x4FC5,
3395@@ -7313,7 +7314,7 @@
3396 0x5084,0x5086,0x508A,0x508E,0x508F,0x5090};
3397
3398 /* page 10 0x3221-0x327E */
3399-static uint16 tab_jisx0212_uni10[]={
3400+static const uint16 tab_jisx0212_uni10[]={
3401 0x5092,0x5093,0x5094,0x5096,0x509B,0x509C,0x509E,0x509F,
3402 0x50A0,0x50A1,0x50A2,0x50AA,0x50AF,0x50B0,0x50B9,0x50BA,
3403 0x50BD,0x50C0,0x50C3,0x50C4,0x50C7,0x50CC,0x50CE,0x50D0,
3404@@ -7328,7 +7329,7 @@
3405 0x51B8,0x51BA,0x51BC,0x51BE,0x51BF,0x51C2};
3406
3407 /* page 11 0x3321-0x337E */
3408-static uint16 tab_jisx0212_uni11[]={
3409+static const uint16 tab_jisx0212_uni11[]={
3410 0x51C8,0x51CF,0x51D1,0x51D2,0x51D3,0x51D5,0x51D8,0x51DE,
3411 0x51E2,0x51E5,0x51EE,0x51F2,0x51F3,0x51F4,0x51F7,0x5201,
3412 0x5202,0x5205,0x5212,0x5213,0x5215,0x5216,0x5218,0x5222,
3413@@ -7343,7 +7344,7 @@
3414 0x52F6,0x52F7,0x5300,0x5303,0x530A,0x530B};
3415
3416 /* page 12 0x3421-0x347E */
3417-static uint16 tab_jisx0212_uni12[]={
3418+static const uint16 tab_jisx0212_uni12[]={
3419 0x530C,0x5311,0x5313,0x5318,0x531B,0x531C,0x531E,0x531F,
3420 0x5325,0x5327,0x5328,0x5329,0x532B,0x532C,0x532D,0x5330,
3421 0x5332,0x5335,0x533C,0x533D,0x533E,0x5342,0x534C,0x534B,
3422@@ -7358,7 +7359,7 @@
3423 0x5469,0x546B,0x546D,0x546E,0x5474,0x547F};
3424
3425 /* page 13 0x3521-0x357E */
3426-static uint16 tab_jisx0212_uni13[]={
3427+static const uint16 tab_jisx0212_uni13[]={
3428 0x5481,0x5483,0x5485,0x5488,0x5489,0x548D,0x5491,0x5495,
3429 0x5496,0x549C,0x549F,0x54A1,0x54A6,0x54A7,0x54A9,0x54AA,
3430 0x54AD,0x54AE,0x54B1,0x54B7,0x54B9,0x54BA,0x54BB,0x54BF,
3431@@ -7373,7 +7374,7 @@
3432 0x55C9,0x55CB,0x55CC,0x55CE,0x55D1,0x55D2};
3433
3434 /* page 14 0x3621-0x367E */
3435-static uint16 tab_jisx0212_uni14[]={
3436+static const uint16 tab_jisx0212_uni14[]={
3437 0x55D3,0x55D7,0x55D8,0x55DB,0x55DE,0x55E2,0x55E9,0x55F6,
3438 0x55FF,0x5605,0x5608,0x560A,0x560D,0x560E,0x560F,0x5610,
3439 0x5611,0x5612,0x5619,0x562C,0x5630,0x5633,0x5635,0x5637,
3440@@ -7388,7 +7389,7 @@
3441 0x56E6,0x56E7,0x56E8,0x56F1,0x56EB,0x56ED};
3442
3443 /* page 15 0x3721-0x377E */
3444-static uint16 tab_jisx0212_uni15[]={
3445+static const uint16 tab_jisx0212_uni15[]={
3446 0x56F6,0x56F7,0x5701,0x5702,0x5707,0x570A,0x570C,0x5711,
3447 0x5715,0x571A,0x571B,0x571D,0x5720,0x5722,0x5723,0x5724,
3448 0x5725,0x5729,0x572A,0x572C,0x572E,0x572F,0x5733,0x5734,
3449@@ -7403,7 +7404,7 @@
3450 0x57FF,0x5803,0x5804,0x5808,0x5809,0x57E1};
3451
3452 /* page 16 0x3821-0x387E */
3453-static uint16 tab_jisx0212_uni16[]={
3454+static const uint16 tab_jisx0212_uni16[]={
3455 0x580C,0x580D,0x581B,0x581E,0x581F,0x5820,0x5826,0x5827,
3456 0x582D,0x5832,0x5839,0x583F,0x5849,0x584C,0x584D,0x584F,
3457 0x5850,0x5855,0x585F,0x5861,0x5864,0x5867,0x5868,0x5878,
3458@@ -7418,7 +7419,7 @@
3459 0x595E,0x595F,0x5961,0x5963,0x596B,0x596D};
3460
3461 /* page 17 0x3921-0x397E */
3462-static uint16 tab_jisx0212_uni17[]={
3463+static const uint16 tab_jisx0212_uni17[]={
3464 0x596F,0x5972,0x5975,0x5976,0x5979,0x597B,0x597C,0x598B,
3465 0x598C,0x598E,0x5992,0x5995,0x5997,0x599F,0x59A4,0x59A7,
3466 0x59AD,0x59AE,0x59AF,0x59B0,0x59B3,0x59B7,0x59BA,0x59BC,
3467@@ -7433,7 +7434,7 @@
3468 0x5AB3,0x5AB5,0x5AB8,0x5ABA,0x5ABB,0x5ABF};
3469
3470 /* page 18 0x3A21-0x3A7E */
3471-static uint16 tab_jisx0212_uni18[]={
3472+static const uint16 tab_jisx0212_uni18[]={
3473 0x5AC4,0x5AC6,0x5AC8,0x5ACF,0x5ADA,0x5ADC,0x5AE0,0x5AE5,
3474 0x5AEA,0x5AEE,0x5AF5,0x5AF6,0x5AFD,0x5B00,0x5B01,0x5B08,
3475 0x5B17,0x5B34,0x5B19,0x5B1B,0x5B1D,0x5B21,0x5B25,0x5B2D,
3476@@ -7448,7 +7449,7 @@
3477 0x5C5C,0x5C62,0x5C63,0x5C67,0x5C68,0x5C69};
3478
3479 /* page 19 0x3B21-0x3B7E */
3480-static uint16 tab_jisx0212_uni19[]={
3481+static const uint16 tab_jisx0212_uni19[]={
3482 0x5C6D,0x5C70,0x5C74,0x5C75,0x5C7A,0x5C7B,0x5C7C,0x5C7D,
3483 0x5C87,0x5C88,0x5C8A,0x5C8F,0x5C92,0x5C9D,0x5C9F,0x5CA0,
3484 0x5CA2,0x5CA3,0x5CA6,0x5CAA,0x5CB2,0x5CB4,0x5CB5,0x5CBA,
3485@@ -7463,7 +7464,7 @@
3486 0x5DD0,0x5DCE,0x5DD8,0x5DD9,0x5DE0,0x5DE4};
3487
3488 /* page 20 0x3C21-0x3C7E */
3489-static uint16 tab_jisx0212_uni20[]={
3490+static const uint16 tab_jisx0212_uni20[]={
3491 0x5DE9,0x5DF8,0x5DF9,0x5E00,0x5E07,0x5E0D,0x5E12,0x5E14,
3492 0x5E15,0x5E18,0x5E1F,0x5E20,0x5E2E,0x5E28,0x5E32,0x5E35,
3493 0x5E3E,0x5E4B,0x5E50,0x5E49,0x5E51,0x5E56,0x5E58,0x5E5B,
3494@@ -7478,7 +7479,7 @@
3495 0x5F58,0x5F5B,0x5F60,0x5F63,0x5F64,0x5F67};
3496
3497 /* page 21 0x3D21-0x3D7E */
3498-static uint16 tab_jisx0212_uni21[]={
3499+static const uint16 tab_jisx0212_uni21[]={
3500 0x5F6F,0x5F72,0x5F74,0x5F75,0x5F78,0x5F7A,0x5F7D,0x5F7E,
3501 0x5F89,0x5F8D,0x5F8F,0x5F96,0x5F9C,0x5F9D,0x5FA2,0x5FA7,
3502 0x5FAB,0x5FA4,0x5FAC,0x5FAF,0x5FB0,0x5FB1,0x5FB8,0x5FC4,
3503@@ -7493,7 +7494,7 @@
3504 0x60A4,0x60A5,0x60A8,0x60B0,0x60B1,0x60B7};
3505
3506 /* page 22 0x3E21-0x3E7E */
3507-static uint16 tab_jisx0212_uni22[]={
3508+static const uint16 tab_jisx0212_uni22[]={
3509 0x60BB,0x60BE,0x60C2,0x60C4,0x60C8,0x60C9,0x60CA,0x60CB,
3510 0x60CE,0x60CF,0x60D4,0x60D5,0x60D9,0x60DB,0x60DD,0x60DE,
3511 0x60E2,0x60E5,0x60F2,0x60F5,0x60F8,0x60FC,0x60FD,0x6102,
3512@@ -7508,7 +7509,7 @@
3513 0x61DF,0x61E1,0x61E2,0x61E7,0x61E9,0x61E5};
3514
3515 /* page 23 0x3F21-0x3F7E */
3516-static uint16 tab_jisx0212_uni23[]={
3517+static const uint16 tab_jisx0212_uni23[]={
3518 0x61EC,0x61ED,0x61EF,0x6201,0x6203,0x6204,0x6207,0x6213,
3519 0x6215,0x621C,0x6220,0x6222,0x6223,0x6227,0x6229,0x622B,
3520 0x6239,0x623D,0x6242,0x6243,0x6244,0x6246,0x624C,0x6250,
3521@@ -7523,7 +7524,7 @@
3522 0x6366,0x636C,0x636D,0x6371,0x6374,0x6375};
3523
3524 /* page 24 0x4021-0x407E */
3525-static uint16 tab_jisx0212_uni24[]={
3526+static const uint16 tab_jisx0212_uni24[]={
3527 0x6378,0x637C,0x637D,0x637F,0x6382,0x6384,0x6387,0x638A,
3528 0x6390,0x6394,0x6395,0x6399,0x639A,0x639E,0x63A4,0x63A6,
3529 0x63AD,0x63AE,0x63AF,0x63BD,0x63C1,0x63C5,0x63C8,0x63CE,
3530@@ -7538,7 +7539,7 @@
3531 0x64A8,0x64AC,0x64B3,0x64BD,0x64BE,0x64BF};
3532
3533 /* page 25 0x4121-0x417E */
3534-static uint16 tab_jisx0212_uni25[]={
3535+static const uint16 tab_jisx0212_uni25[]={
3536 0x64C4,0x64C9,0x64CA,0x64CB,0x64CC,0x64CE,0x64D0,0x64D1,
3537 0x64D5,0x64D7,0x64E4,0x64E5,0x64E9,0x64EA,0x64ED,0x64F0,
3538 0x64F5,0x64F7,0x64FB,0x64FF,0x6501,0x6504,0x6508,0x6509,
3539@@ -7553,7 +7554,7 @@
3540 0x660D,0x6611,0x6612,0x6615,0x6616,0x661D};
3541
3542 /* page 26 0x4221-0x427E */
3543-static uint16 tab_jisx0212_uni26[]={
3544+static const uint16 tab_jisx0212_uni26[]={
3545 0x661E,0x6621,0x6622,0x6623,0x6624,0x6626,0x6629,0x662A,
3546 0x662B,0x662C,0x662E,0x6630,0x6631,0x6633,0x6639,0x6637,
3547 0x6640,0x6645,0x6646,0x664A,0x664C,0x6651,0x664E,0x6657,
3548@@ -7568,7 +7569,7 @@
3549 0x6747,0x6748,0x674C,0x6754,0x6755,0x675D};
3550
3551 /* page 27 0x4321-0x437E */
3552-static uint16 tab_jisx0212_uni27[]={
3553+static const uint16 tab_jisx0212_uni27[]={
3554 0x6766,0x676C,0x676E,0x6774,0x6776,0x677B,0x6781,0x6784,
3555 0x678E,0x678F,0x6791,0x6793,0x6796,0x6798,0x6799,0x679B,
3556 0x67B0,0x67B1,0x67B2,0x67B5,0x67BB,0x67BC,0x67BD,0x67F9,
3557@@ -7583,7 +7584,7 @@
3558 0x68B2,0x68BB,0x68C5,0x68C8,0x68CC,0x68CF};
3559
3560 /* page 28 0x4421-0x447E */
3561-static uint16 tab_jisx0212_uni28[]={
3562+static const uint16 tab_jisx0212_uni28[]={
3563 0x68D0,0x68D1,0x68D3,0x68D6,0x68D9,0x68DC,0x68DD,0x68E5,
3564 0x68E8,0x68EA,0x68EB,0x68EC,0x68ED,0x68F0,0x68F1,0x68F5,
3565 0x68F6,0x68FB,0x68FC,0x68FD,0x6906,0x6909,0x690A,0x6910,
3566@@ -7598,7 +7599,7 @@
3567 0x6A1D,0x6A20,0x6A24,0x6A28,0x6A30,0x6A32};
3568
3569 /* page 29 0x4521-0x457E */
3570-static uint16 tab_jisx0212_uni29[]={
3571+static const uint16 tab_jisx0212_uni29[]={
3572 0x6A34,0x6A37,0x6A3B,0x6A3E,0x6A3F,0x6A45,0x6A46,0x6A49,
3573 0x6A4A,0x6A4E,0x6A50,0x6A51,0x6A52,0x6A55,0x6A56,0x6A5B,
3574 0x6A64,0x6A67,0x6A6A,0x6A71,0x6A73,0x6A7E,0x6A81,0x6A83,
3575@@ -7613,7 +7614,7 @@
3576 0x6B67,0x6B6B,0x6B6E,0x6B70,0x6B75,0x6B7D};
3577
3578 /* page 30 0x4621-0x467E */
3579-static uint16 tab_jisx0212_uni30[]={
3580+static const uint16 tab_jisx0212_uni30[]={
3581 0x6B7E,0x6B82,0x6B85,0x6B97,0x6B9B,0x6B9F,0x6BA0,0x6BA2,
3582 0x6BA3,0x6BA8,0x6BA9,0x6BAC,0x6BAD,0x6BAE,0x6BB0,0x6BB8,
3583 0x6BB9,0x6BBD,0x6BBE,0x6BC3,0x6BC4,0x6BC9,0x6BCC,0x6BD6,
3584@@ -7628,7 +7629,7 @@
3585 0x6CCF,0x6CD0,0x6CD1,0x6CD2,0x6CD4,0x6CD6};
3586
3587 /* page 31 0x4721-0x477E */
3588-static uint16 tab_jisx0212_uni31[]={
3589+static const uint16 tab_jisx0212_uni31[]={
3590 0x6CDA,0x6CDC,0x6CE0,0x6CE7,0x6CE9,0x6CEB,0x6CEC,0x6CEE,
3591 0x6CF2,0x6CF4,0x6D04,0x6D07,0x6D0A,0x6D0E,0x6D0F,0x6D11,
3592 0x6D13,0x6D1A,0x6D26,0x6D27,0x6D28,0x6C67,0x6D2E,0x6D2F,
3593@@ -7643,7 +7644,7 @@
3594 0x6E53,0x6E54,0x6E57,0x6E5C,0x6E5D,0x6E5E};
3595
3596 /* page 32 0x4821-0x487E */
3597-static uint16 tab_jisx0212_uni32[]={
3598+static const uint16 tab_jisx0212_uni32[]={
3599 0x6E62,0x6E63,0x6E68,0x6E73,0x6E7B,0x6E7D,0x6E8D,0x6E93,
3600 0x6E99,0x6EA0,0x6EA7,0x6EAD,0x6EAE,0x6EB1,0x6EB3,0x6EBB,
3601 0x6EBF,0x6EC0,0x6EC1,0x6EC3,0x6EC7,0x6EC8,0x6ECA,0x6ECD,
3602@@ -7658,7 +7659,7 @@
3603 0x6FB6,0x6FBC,0x6FC5,0x6FC7,0x6FC8,0x6FCA};
3604
3605 /* page 33 0x4921-0x497E */
3606-static uint16 tab_jisx0212_uni33[]={
3607+static const uint16 tab_jisx0212_uni33[]={
3608 0x6FDA,0x6FDE,0x6FE8,0x6FE9,0x6FF0,0x6FF5,0x6FF9,0x6FFC,
3609 0x6FFD,0x7000,0x7005,0x7006,0x7007,0x700D,0x7017,0x7020,
3610 0x7023,0x702F,0x7034,0x7037,0x7039,0x703C,0x7043,0x7044,
3611@@ -7673,7 +7674,7 @@
3612 0x7152,0x7157,0x715A,0x715C,0x715E,0x7160};
3613
3614 /* page 34 0x4A21-0x4A7E */
3615-static uint16 tab_jisx0212_uni34[]={
3616+static const uint16 tab_jisx0212_uni34[]={
3617 0x7168,0x7179,0x7180,0x7185,0x7187,0x718C,0x7192,0x719A,
3618 0x719B,0x71A0,0x71A2,0x71AF,0x71B0,0x71B2,0x71B3,0x71BA,
3619 0x71BF,0x71C0,0x71C1,0x71C4,0x71CB,0x71CC,0x71D3,0x71D6,
3620@@ -7688,7 +7689,7 @@
3621 0x72DF,0x72E5,0x72F3,0x72F4,0x72FA,0x72FB};
3622
3623 /* page 35 0x4B21-0x4B7E */
3624-static uint16 tab_jisx0212_uni35[]={
3625+static const uint16 tab_jisx0212_uni35[]={
3626 0x72FE,0x7302,0x7304,0x7305,0x7307,0x730B,0x730D,0x7312,
3627 0x7313,0x7318,0x7319,0x731E,0x7322,0x7324,0x7327,0x7328,
3628 0x732C,0x7331,0x7332,0x7335,0x733A,0x733B,0x733D,0x7343,
3629@@ -7703,7 +7704,7 @@
3630 0x73F5,0x73F7,0x73F9,0x73FA,0x73FB,0x73FD};
3631
3632 /* page 36 0x4C21-0x4C7E */
3633-static uint16 tab_jisx0212_uni36[]={
3634+static const uint16 tab_jisx0212_uni36[]={
3635 0x73FF,0x7400,0x7401,0x7404,0x7407,0x740A,0x7411,0x741A,
3636 0x741B,0x7424,0x7426,0x7428,0x7429,0x742A,0x742B,0x742C,
3637 0x742D,0x742E,0x742F,0x7430,0x7431,0x7439,0x7440,0x7443,
3638@@ -7718,7 +7719,7 @@
3639 0x74F4,0x74FA,0x74FB,0x74FC,0x74FF,0x7506};
3640
3641 /* page 37 0x4D21-0x4D7E */
3642-static uint16 tab_jisx0212_uni37[]={
3643+static const uint16 tab_jisx0212_uni37[]={
3644 0x7512,0x7516,0x7517,0x7520,0x7521,0x7524,0x7527,0x7529,
3645 0x752A,0x752F,0x7536,0x7539,0x753D,0x753E,0x753F,0x7540,
3646 0x7543,0x7547,0x7548,0x754E,0x7550,0x7552,0x7557,0x755E,
3647@@ -7733,7 +7734,7 @@
3648 0x762D,0x7632,0x7633,0x7635,0x7638,0x7639};
3649
3650 /* page 38 0x4E21-0x4E7E */
3651-static uint16 tab_jisx0212_uni38[]={
3652+static const uint16 tab_jisx0212_uni38[]={
3653 0x763A,0x763C,0x764A,0x7640,0x7641,0x7643,0x7644,0x7645,
3654 0x7649,0x764B,0x7655,0x7659,0x765F,0x7664,0x7665,0x766D,
3655 0x766E,0x766F,0x7671,0x7674,0x7681,0x7685,0x768C,0x768D,
3656@@ -7748,7 +7749,7 @@
3657 0x7757,0x775C,0x775E,0x775F,0x7760,0x7762};
3658
3659 /* page 39 0x4F21-0x4F7E */
3660-static uint16 tab_jisx0212_uni39[]={
3661+static const uint16 tab_jisx0212_uni39[]={
3662 0x7764,0x7767,0x776A,0x776C,0x7770,0x7772,0x7773,0x7774,
3663 0x777A,0x777D,0x7780,0x7784,0x778C,0x778D,0x7794,0x7795,
3664 0x7796,0x779A,0x779F,0x77A2,0x77A7,0x77AA,0x77AE,0x77AF,
3665@@ -7763,7 +7764,7 @@
3666 0x78AC,0x78AD,0x78B0,0x78B1,0x78B2,0x78B3};
3667
3668 /* page 40 0x5021-0x507E */
3669-static uint16 tab_jisx0212_uni40[]={
3670+static const uint16 tab_jisx0212_uni40[]={
3671 0x78BB,0x78BD,0x78BF,0x78C7,0x78C8,0x78C9,0x78CC,0x78CE,
3672 0x78D2,0x78D3,0x78D5,0x78D6,0x78E4,0x78DB,0x78DF,0x78E0,
3673 0x78E1,0x78E6,0x78EA,0x78F2,0x78F3,0x7900,0x78F6,0x78F7,
3674@@ -7778,7 +7779,7 @@
3675 0x79CF,0x79D4,0x79D6,0x79DA,0x79DD,0x79DE};
3676
3677 /* page 41 0x5121-0x517E */
3678-static uint16 tab_jisx0212_uni41[]={
3679+static const uint16 tab_jisx0212_uni41[]={
3680 0x79E0,0x79E2,0x79E5,0x79EA,0x79EB,0x79ED,0x79F1,0x79F8,
3681 0x79FC,0x7A02,0x7A03,0x7A07,0x7A09,0x7A0A,0x7A0C,0x7A11,
3682 0x7A15,0x7A1B,0x7A1E,0x7A21,0x7A27,0x7A2B,0x7A2D,0x7A2F,
3683@@ -7793,7 +7794,7 @@
3684 0x7B2A,0x7B2B,0x7B2D,0x7B2E,0x7B2F,0x7B30};
3685
3686 /* page 42 0x5221-0x527E */
3687-static uint16 tab_jisx0212_uni42[]={
3688+static const uint16 tab_jisx0212_uni42[]={
3689 0x7B31,0x7B34,0x7B3D,0x7B3F,0x7B40,0x7B41,0x7B47,0x7B4E,
3690 0x7B55,0x7B60,0x7B64,0x7B66,0x7B69,0x7B6A,0x7B6D,0x7B6F,
3691 0x7B72,0x7B73,0x7B77,0x7B84,0x7B89,0x7B8E,0x7B90,0x7B91,
3692@@ -7808,7 +7809,7 @@
3693 0x7C59,0x7C5A,0x7C5B,0x7C5C,0x7C5D,0x7C5E};
3694
3695 /* page 43 0x5321-0x537E */
3696-static uint16 tab_jisx0212_uni43[]={
3697+static const uint16 tab_jisx0212_uni43[]={
3698 0x7C61,0x7C63,0x7C67,0x7C69,0x7C6D,0x7C6E,0x7C70,0x7C72,
3699 0x7C79,0x7C7C,0x7C7D,0x7C86,0x7C87,0x7C8F,0x7C94,0x7C9E,
3700 0x7CA0,0x7CA6,0x7CB0,0x7CB6,0x7CB7,0x7CBA,0x7CBB,0x7CBC,
3701@@ -7823,7 +7824,7 @@
3702 0x7D8C,0x7D8D,0x7D91,0x7D96,0x7D97,0x7D9D};
3703
3704 /* page 44 0x5421-0x547E */
3705-static uint16 tab_jisx0212_uni44[]={
3706+static const uint16 tab_jisx0212_uni44[]={
3707 0x7D9E,0x7DA6,0x7DA7,0x7DAA,0x7DB3,0x7DB6,0x7DB7,0x7DB9,
3708 0x7DC2,0x7DC3,0x7DC4,0x7DC5,0x7DC6,0x7DCC,0x7DCD,0x7DCE,
3709 0x7DD7,0x7DD9,0x7E00,0x7DE2,0x7DE5,0x7DE6,0x7DEA,0x7DEB,
3710@@ -7838,7 +7839,7 @@
3711 0x7F61,0x7F63,0x7F64,0x7F65,0x7F66,0x7F6D};
3712
3713 /* page 45 0x5521-0x557E */
3714-static uint16 tab_jisx0212_uni45[]={
3715+static const uint16 tab_jisx0212_uni45[]={
3716 0x7F71,0x7F7D,0x7F7E,0x7F7F,0x7F80,0x7F8B,0x7F8D,0x7F8F,
3717 0x7F90,0x7F91,0x7F96,0x7F97,0x7F9C,0x7FA1,0x7FA2,0x7FA6,
3718 0x7FAA,0x7FAD,0x7FB4,0x7FBC,0x7FBF,0x7FC0,0x7FC3,0x7FC8,
3719@@ -7853,7 +7854,7 @@
3720 0x80D5,0x80D7,0x80D8,0x80E0,0x80ED,0x80EE};
3721
3722 /* page 46 0x5621-0x567E */
3723-static uint16 tab_jisx0212_uni46[]={
3724+static const uint16 tab_jisx0212_uni46[]={
3725 0x80F0,0x80F2,0x80F3,0x80F6,0x80F9,0x80FA,0x80FE,0x8103,
3726 0x810B,0x8116,0x8117,0x8118,0x811C,0x811E,0x8120,0x8124,
3727 0x8127,0x812C,0x8130,0x8135,0x813A,0x813C,0x8145,0x8147,
3728@@ -7868,7 +7869,7 @@
3729 0x8234,0x823A,0x8243,0x8244,0x8245,0x8246};
3730
3731 /* page 47 0x5721-0x577E */
3732-static uint16 tab_jisx0212_uni47[]={
3733+static const uint16 tab_jisx0212_uni47[]={
3734 0x824B,0x824E,0x824F,0x8251,0x8256,0x825C,0x8260,0x8263,
3735 0x8267,0x826D,0x8274,0x827B,0x827D,0x827F,0x8280,0x8281,
3736 0x8283,0x8284,0x8287,0x8289,0x828A,0x828E,0x8291,0x8294,
3737@@ -7883,7 +7884,7 @@
3738 0x8351,0x8355,0x8356,0x8357,0x8370,0x8378};
3739
3740 /* page 48 0x5821-0x587E */
3741-static uint16 tab_jisx0212_uni48[]={
3742+static const uint16 tab_jisx0212_uni48[]={
3743 0x837D,0x837F,0x8380,0x8382,0x8384,0x8386,0x838D,0x8392,
3744 0x8394,0x8395,0x8398,0x8399,0x839B,0x839C,0x839D,0x83A6,
3745 0x83A7,0x83A9,0x83AC,0x83BE,0x83BF,0x83C0,0x83C7,0x83C9,
3746@@ -7898,7 +7899,7 @@
3747 0x84C2,0x84C7,0x84C8,0x84CC,0x84CF,0x84D3};
3748
3749 /* page 49 0x5921-0x597E */
3750-static uint16 tab_jisx0212_uni49[]={
3751+static const uint16 tab_jisx0212_uni49[]={
3752 0x84DC,0x84E7,0x84EA,0x84EF,0x84F0,0x84F1,0x84F2,0x84F7,
3753 0x8532,0x84FA,0x84FB,0x84FD,0x8502,0x8503,0x8507,0x850C,
3754 0x850E,0x8510,0x851C,0x851E,0x8522,0x8523,0x8524,0x8525,
3755@@ -7913,7 +7914,7 @@
3756 0x85E6,0x85E8,0x85ED,0x85F3,0x85F6,0x85FC};
3757
3758 /* page 50 0x5A21-0x5A7E */
3759-static uint16 tab_jisx0212_uni50[]={
3760+static const uint16 tab_jisx0212_uni50[]={
3761 0x85FF,0x8600,0x8604,0x8605,0x860D,0x860E,0x8610,0x8611,
3762 0x8612,0x8618,0x8619,0x861B,0x861E,0x8621,0x8627,0x8629,
3763 0x8636,0x8638,0x863A,0x863C,0x863D,0x8640,0x8642,0x8646,
3764@@ -7928,7 +7929,7 @@
3765 0x8714,0x8719,0x871E,0x871F,0x8721,0x8723};
3766
3767 /* page 51 0x5B21-0x5B7E */
3768-static uint16 tab_jisx0212_uni51[]={
3769+static const uint16 tab_jisx0212_uni51[]={
3770 0x8728,0x872E,0x872F,0x8731,0x8732,0x8739,0x873A,0x873C,
3771 0x873D,0x873E,0x8740,0x8743,0x8745,0x874D,0x8758,0x875D,
3772 0x8761,0x8764,0x8765,0x876F,0x8771,0x8772,0x877B,0x8783,
3773@@ -7943,7 +7944,7 @@
3774 0x8828,0x882D,0x882E,0x8830,0x8832,0x8835};
3775
3776 /* page 52 0x5C21-0x5C7E */
3777-static uint16 tab_jisx0212_uni52[]={
3778+static const uint16 tab_jisx0212_uni52[]={
3779 0x883A,0x883C,0x8841,0x8843,0x8845,0x8848,0x8849,0x884A,
3780 0x884B,0x884E,0x8851,0x8855,0x8856,0x8858,0x885A,0x885C,
3781 0x885F,0x8860,0x8864,0x8869,0x8871,0x8879,0x887B,0x8880,
3782@@ -7958,7 +7959,7 @@
3783 0x896B,0x896E,0x8970,0x8973,0x8975,0x897A};
3784
3785 /* page 53 0x5D21-0x5D7E */
3786-static uint16 tab_jisx0212_uni53[]={
3787+static const uint16 tab_jisx0212_uni53[]={
3788 0x897B,0x897C,0x897D,0x8989,0x898D,0x8990,0x8994,0x8995,
3789 0x899B,0x899C,0x899F,0x89A0,0x89A5,0x89B0,0x89B4,0x89B5,
3790 0x89B6,0x89B7,0x89BC,0x89D4,0x89D5,0x89D6,0x89D7,0x89D8,
3791@@ -7973,7 +7974,7 @@
3792 0x8A9F,0x8AA7,0x8AA9,0x8AAE,0x8AAF,0x8AB3};
3793
3794 /* page 54 0x5E21-0x5E7E */
3795-static uint16 tab_jisx0212_uni54[]={
3796+static const uint16 tab_jisx0212_uni54[]={
3797 0x8AB6,0x8AB7,0x8ABB,0x8ABE,0x8AC3,0x8AC6,0x8AC8,0x8AC9,
3798 0x8ACA,0x8AD1,0x8AD3,0x8AD4,0x8AD5,0x8AD7,0x8ADD,0x8ADF,
3799 0x8AEC,0x8AF0,0x8AF4,0x8AF5,0x8AF6,0x8AFC,0x8AFF,0x8B05,
3800@@ -7988,7 +7989,7 @@
3801 0x8C73,0x8C75,0x8C76,0x8C7B,0x8C7E,0x8C86};
3802
3803 /* page 55 0x5F21-0x5F7E */
3804-static uint16 tab_jisx0212_uni55[]={
3805+static const uint16 tab_jisx0212_uni55[]={
3806 0x8C87,0x8C8B,0x8C90,0x8C92,0x8C93,0x8C99,0x8C9B,0x8C9C,
3807 0x8CA4,0x8CB9,0x8CBA,0x8CC5,0x8CC6,0x8CC9,0x8CCB,0x8CCF,
3808 0x8CD6,0x8CD5,0x8CD9,0x8CDD,0x8CE1,0x8CE8,0x8CEC,0x8CEF,
3809@@ -8003,7 +8004,7 @@
3810 0x8E11,0x8E14,0x8E16,0x8E20,0x8E21,0x8E22};
3811
3812 /* page 56 0x6021-0x607E */
3813-static uint16 tab_jisx0212_uni56[]={
3814+static const uint16 tab_jisx0212_uni56[]={
3815 0x8E23,0x8E26,0x8E27,0x8E31,0x8E33,0x8E36,0x8E37,0x8E38,
3816 0x8E39,0x8E3D,0x8E40,0x8E41,0x8E4B,0x8E4D,0x8E4E,0x8E4F,
3817 0x8E54,0x8E5B,0x8E5C,0x8E5D,0x8E5E,0x8E61,0x8E62,0x8E69,
3818@@ -8018,7 +8019,7 @@
3819 0x8F35,0x8F36,0x8F37,0x8F3A,0x8F40,0x8F41};
3820
3821 /* page 57 0x6121-0x617E */
3822-static uint16 tab_jisx0212_uni57[]={
3823+static const uint16 tab_jisx0212_uni57[]={
3824 0x8F43,0x8F47,0x8F4F,0x8F51,0x8F52,0x8F53,0x8F54,0x8F55,
3825 0x8F58,0x8F5D,0x8F5E,0x8F65,0x8F9D,0x8FA0,0x8FA1,0x8FA4,
3826 0x8FA5,0x8FA6,0x8FB5,0x8FB6,0x8FB8,0x8FBE,0x8FC0,0x8FC1,
3827@@ -8033,7 +8034,7 @@
3828 0x90B4,0x90B6,0x90BD,0x90CC,0x90BE,0x90C3};
3829
3830 /* page 58 0x6221-0x627E */
3831-static uint16 tab_jisx0212_uni58[]={
3832+static const uint16 tab_jisx0212_uni58[]={
3833 0x90C4,0x90C5,0x90C7,0x90C8,0x90D5,0x90D7,0x90D8,0x90D9,
3834 0x90DC,0x90DD,0x90DF,0x90E5,0x90D2,0x90F6,0x90EB,0x90EF,
3835 0x90F0,0x90F4,0x90FE,0x90FF,0x9100,0x9104,0x9105,0x9106,
3836@@ -8048,7 +8049,7 @@
3837 0x91B3,0x91B6,0x91BB,0x91BC,0x91BD,0x91BF};
3838
3839 /* page 59 0x6321-0x637E */
3840-static uint16 tab_jisx0212_uni59[]={
3841+static const uint16 tab_jisx0212_uni59[]={
3842 0x91C2,0x91C3,0x91C5,0x91D3,0x91D4,0x91D7,0x91D9,0x91DA,
3843 0x91DE,0x91E4,0x91E5,0x91E9,0x91EA,0x91EC,0x91ED,0x91EE,
3844 0x91EF,0x91F0,0x91F1,0x91F7,0x91F9,0x91FB,0x91FD,0x9200,
3845@@ -8063,7 +8064,7 @@
3846 0x9289,0x928A,0x928D,0x928E,0x9292,0x9297};
3847
3848 /* page 60 0x6421-0x647E */
3849-static uint16 tab_jisx0212_uni60[]={
3850+static const uint16 tab_jisx0212_uni60[]={
3851 0x9299,0x929F,0x92A0,0x92A4,0x92A5,0x92A7,0x92A8,0x92AB,
3852 0x92AF,0x92B2,0x92B6,0x92B8,0x92BA,0x92BB,0x92BC,0x92BD,
3853 0x92BF,0x92C0,0x92C1,0x92C2,0x92C3,0x92C5,0x92C6,0x92C7,
3854@@ -8078,7 +8079,7 @@
3855 0x936F,0x9370,0x9371,0x9373,0x9374,0x9376};
3856
3857 /* page 61 0x6521-0x657E */
3858-static uint16 tab_jisx0212_uni61[]={
3859+static const uint16 tab_jisx0212_uni61[]={
3860 0x937A,0x937D,0x937F,0x9380,0x9381,0x9382,0x9388,0x938A,
3861 0x938B,0x938D,0x938F,0x9392,0x9395,0x9398,0x939B,0x939E,
3862 0x93A1,0x93A3,0x93A4,0x93A6,0x93A8,0x93AB,0x93B4,0x93B5,
3863@@ -8093,7 +8094,7 @@
3864 0x9471,0x9472,0x9484,0x9483,0x9578,0x9579};
3865
3866 /* page 62 0x6621-0x667E */
3867-static uint16 tab_jisx0212_uni62[]={
3868+static const uint16 tab_jisx0212_uni62[]={
3869 0x957E,0x9584,0x9588,0x958C,0x958D,0x958E,0x959D,0x959E,
3870 0x959F,0x95A1,0x95A6,0x95A9,0x95AB,0x95AC,0x95B4,0x95B6,
3871 0x95BA,0x95BD,0x95BF,0x95C6,0x95C8,0x95C9,0x95CB,0x95D0,
3872@@ -8108,7 +8109,7 @@
3873 0x96DF,0x96E9,0x96EF,0x96F1,0x96FA,0x9702};
3874
3875 /* page 63 0x6721-0x677E */
3876-static uint16 tab_jisx0212_uni63[]={
3877+static const uint16 tab_jisx0212_uni63[]={
3878 0x9703,0x9705,0x9709,0x971A,0x971B,0x971D,0x9721,0x9722,
3879 0x9723,0x9728,0x9731,0x9733,0x9741,0x9743,0x974A,0x974E,
3880 0x974F,0x9755,0x9757,0x9758,0x975A,0x975B,0x9763,0x9767,
3881@@ -8123,7 +8124,7 @@
3882 0x9816,0x981C,0x981E,0x9820,0x9823,0x9826};
3883
3884 /* page 64 0x6821-0x687E */
3885-static uint16 tab_jisx0212_uni64[]={
3886+static const uint16 tab_jisx0212_uni64[]={
3887 0x982B,0x982E,0x982F,0x9830,0x9832,0x9833,0x9835,0x9825,
3888 0x983E,0x9844,0x9847,0x984A,0x9851,0x9852,0x9853,0x9856,
3889 0x9857,0x9859,0x985A,0x9862,0x9863,0x9865,0x9866,0x986A,
3890@@ -8138,7 +8139,7 @@
3891 0x999F,0x99A6,0x99B0,0x99B1,0x99B2,0x99B5};
3892
3893 /* page 65 0x6921-0x697E */
3894-static uint16 tab_jisx0212_uni65[]={
3895+static const uint16 tab_jisx0212_uni65[]={
3896 0x99B9,0x99BA,0x99BD,0x99BF,0x99C3,0x99C9,0x99D3,0x99D4,
3897 0x99D9,0x99DA,0x99DC,0x99DE,0x99E7,0x99EA,0x99EB,0x99EC,
3898 0x99F0,0x99F4,0x99F5,0x99F9,0x99FD,0x99FE,0x9A02,0x9A03,
3899@@ -8153,7 +8154,7 @@
3900 0x9AFD,0x9AFF,0x9B00,0x9B01,0x9B02,0x9B03};
3901
3902 /* page 66 0x6A21-0x6A7E */
3903-static uint16 tab_jisx0212_uni66[]={
3904+static const uint16 tab_jisx0212_uni66[]={
3905 0x9B04,0x9B05,0x9B08,0x9B09,0x9B0B,0x9B0C,0x9B0D,0x9B0E,
3906 0x9B10,0x9B12,0x9B16,0x9B19,0x9B1B,0x9B1C,0x9B20,0x9B26,
3907 0x9B2B,0x9B2D,0x9B33,0x9B34,0x9B35,0x9B37,0x9B39,0x9B3A,
3908@@ -8168,7 +8169,7 @@
3909 0x9BEA,0x9BEB,0x9BEF,0x9BF3,0x9BF7,0x9BF8};
3910
3911 /* page 67 0x6B21-0x6B7E */
3912-static uint16 tab_jisx0212_uni67[]={
3913+static const uint16 tab_jisx0212_uni67[]={
3914 0x9BF9,0x9BFA,0x9BFD,0x9BFF,0x9C00,0x9C02,0x9C0B,0x9C0F,
3915 0x9C11,0x9C16,0x9C18,0x9C19,0x9C1A,0x9C1C,0x9C1E,0x9C22,
3916 0x9C23,0x9C26,0x9C27,0x9C28,0x9C29,0x9C2A,0x9C31,0x9C35,
3917@@ -8183,7 +8184,7 @@
3918 0x9D6A,0x9D6B,0x9D70,0x9D76,0x9D77,0x9D7B};
3919
3920 /* page 68 0x6C21-0x6C7E */
3921-static uint16 tab_jisx0212_uni68[]={
3922+static const uint16 tab_jisx0212_uni68[]={
3923 0x9D7C,0x9D7E,0x9D83,0x9D84,0x9D86,0x9D8A,0x9D8D,0x9D8E,
3924 0x9D92,0x9D93,0x9D95,0x9D96,0x9D97,0x9D98,0x9DA1,0x9DAA,
3925 0x9DAC,0x9DAE,0x9DB1,0x9DB5,0x9DB9,0x9DBC,0x9DBF,0x9DC3,
3926@@ -8198,7 +8199,7 @@
3927 0x9EED,0x9EEE,0x9EF0,0x9EF1,0x9EF2,0x9EF5};
3928
3929 /* page 69 0x6D21-0x6D63 */
3930-static uint16 tab_jisx0212_uni69[]={
3931+static const uint16 tab_jisx0212_uni69[]={
3932 0x9EF8,0x9EFF,0x9F02,0x9F03,0x9F09,0x9F0F,0x9F10,0x9F11,
3933 0x9F12,0x9F14,0x9F16,0x9F17,0x9F19,0x9F1A,0x9F1B,0x9F1F,
3934 0x9F22,0x9F26,0x9F2A,0x9F2B,0x9F2F,0x9F31,0x9F32,0x9F34,
3935@@ -8210,12 +8211,12 @@
3936 0x9FA2,0x9FA3,0x9FA5};
3937
3938 /* page 70 0x7371-0x737E IBM Kanji and Nonkanji */
3939-static uint16 tab_jisx0212_uni70[]={
3940+static const uint16 tab_jisx0212_uni70[]={
3941 0, 0,0x2170,0x2171,0x2172,0x2173,0x2174,0x2175,
3942 0x2176,0x2177,0x2178,0x2179,0x2160,0x2161};
3943
3944 /* page 71 0x7421-0x747E IBM Kanji and Nonkanji*/
3945-static uint16 tab_jisx0212_uni71[]={
3946+static const uint16 tab_jisx0212_uni71[]={
3947 0x2162,0x2163,0x2164,0x2165,0x2166,0x2167,0x2168,0x2169,
3948 0xFF07,0xFF02,0x3231,0x2116,0x2121,0x70BB,0x4EFC,0x50F4,
3949 0x51EC,0x5307,0x5324,0xFA0E,0x548A,0x5759,0xFA0F,0xFA10,
3950@@ -8685,7 +8686,7 @@
3951
3952
3953
3954-CHARSET_INFO my_charset_eucjpms_japanese_ci=
3955+struct charset_info_st my_charset_eucjpms_japanese_ci=
3956 {
3957 97,0,0, /* number */
3958 MY_CS_COMPILED|MY_CS_PRIMARY, /* state */
3959@@ -8718,7 +8719,7 @@
3960 };
3961
3962
3963-CHARSET_INFO my_charset_eucjpms_bin=
3964+struct charset_info_st my_charset_eucjpms_bin=
3965 {
3966 98,0,0, /* number */
3967 MY_CS_COMPILED|MY_CS_BINSORT, /* state */
3968
3969=== modified file 'strings/ctype-extra.c'
3970--- strings/ctype-extra.c 2009-07-02 10:15:33 +0000
3971+++ strings/ctype-extra.c 2009-11-03 19:35:25 +0000
3972@@ -6,7 +6,7 @@
3973 ./conf_to_src ../sql/share/charsets/ > FILE
3974 */
3975
3976-/* Copyright (C) 2000-2007 MySQL AB
3977+/* Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc.
3978
3979 This program is free software; you can redistribute it and/or modify
3980 it under the terms of the GNU General Public License as published by
3981@@ -25,7 +25,7 @@
3982 #include <m_ctype.h>
3983
3984 #ifdef HAVE_CHARSET_dec8
3985-uchar ctype_dec8_swedish_ci[] = {
3986+static const uchar ctype_dec8_swedish_ci[] = {
3987 0x00,
3988 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
3989 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
3990@@ -45,7 +45,7 @@
3991 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
3992 };
3993
3994-uchar to_lower_dec8_swedish_ci[] = {
3995+static const uchar to_lower_dec8_swedish_ci[] = {
3996 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
3997 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
3998 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
3999@@ -64,7 +64,7 @@
4000 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4001 };
4002
4003-uchar to_upper_dec8_swedish_ci[] = {
4004+static const uchar to_upper_dec8_swedish_ci[] = {
4005 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4006 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4007 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4008@@ -83,7 +83,7 @@
4009 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
4010 };
4011
4012-uchar sort_order_dec8_swedish_ci[] = {
4013+static const uchar sort_order_dec8_swedish_ci[] = {
4014 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4015 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4016 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4017@@ -102,7 +102,7 @@
4018 0x44,0x4E,0x4F,0x4F,0x4F,0x4F,0x5D,0xF7,0xD8,0x55,0x55,0x55,0x59,0x59,0xDE,0xFF
4019 };
4020
4021-uint16 to_uni_dec8_swedish_ci[] = {
4022+static const uint16 to_uni_dec8_swedish_ci[] = {
4023 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4024 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4025 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4026@@ -140,7 +140,7 @@
4027 #endif
4028
4029 #ifdef HAVE_CHARSET_cp850
4030-uchar ctype_cp850_general_ci[] = {
4031+static const uchar ctype_cp850_general_ci[] = {
4032 0x00,
4033 0x20,0x30,0x30,0x30,0x30,0x30,0x30,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x30,0x30,
4034 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x20,0x30,0x30,0x30,0x30,0x30,
4035@@ -160,7 +160,7 @@
4036 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20
4037 };
4038
4039-uchar to_lower_cp850_general_ci[] = {
4040+static const uchar to_lower_cp850_general_ci[] = {
4041 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4042 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4043 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4044@@ -179,7 +179,7 @@
4045 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4046 };
4047
4048-uchar to_upper_cp850_general_ci[] = {
4049+static const uchar to_upper_cp850_general_ci[] = {
4050 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4051 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4052 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4053@@ -198,7 +198,7 @@
4054 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4055 };
4056
4057-uchar sort_order_cp850_general_ci[] = {
4058+static const uchar sort_order_cp850_general_ci[] = {
4059 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4060 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4061 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4062@@ -217,7 +217,7 @@
4063 0xED,0xF1,0xC1,0xFE,0xF6,0xE7,0xBF,0xBC,0xF0,0xE8,0xF7,0xF9,0xF3,0xF2,0xDF,0xE0
4064 };
4065
4066-uint16 to_uni_cp850_general_ci[] = {
4067+static const uint16 to_uni_cp850_general_ci[] = {
4068 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4069 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4070 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4071@@ -255,7 +255,7 @@
4072 #endif
4073
4074 #ifdef HAVE_CHARSET_latin1
4075-uchar ctype_latin1_german1_ci[] = {
4076+static const uchar ctype_latin1_german1_ci[] = {
4077 0x00,
4078 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4079 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4080@@ -275,7 +275,7 @@
4081 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
4082 };
4083
4084-uchar to_lower_latin1_german1_ci[] = {
4085+static const uchar to_lower_latin1_german1_ci[] = {
4086 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4087 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4088 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4089@@ -294,7 +294,7 @@
4090 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4091 };
4092
4093-uchar to_upper_latin1_german1_ci[] = {
4094+static const uchar to_upper_latin1_german1_ci[] = {
4095 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4096 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4097 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4098@@ -313,7 +313,7 @@
4099 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
4100 };
4101
4102-uchar sort_order_latin1_german1_ci[] = {
4103+static const uchar sort_order_latin1_german1_ci[] = {
4104 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4105 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4106 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4107@@ -332,7 +332,7 @@
4108 0xD0,0x4E,0x4F,0x4F,0x4F,0x4F,0x4F,0xF7,0x4F,0x55,0x55,0x55,0x55,0x59,0xDE,0xFF
4109 };
4110
4111-uint16 to_uni_latin1_german1_ci[] = {
4112+static const uint16 to_uni_latin1_german1_ci[] = {
4113 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4114 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4115 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4116@@ -370,7 +370,7 @@
4117 #endif
4118
4119 #ifdef HAVE_CHARSET_hp8
4120-uchar ctype_hp8_english_ci[] = {
4121+static const uchar ctype_hp8_english_ci[] = {
4122 0x00,
4123 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4124 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4125@@ -390,7 +390,7 @@
4126 0x10,0x10,0x20,0x20,0x20,0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20
4127 };
4128
4129-uchar to_lower_hp8_english_ci[] = {
4130+static const uchar to_lower_hp8_english_ci[] = {
4131 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4132 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4133 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4134@@ -409,7 +409,7 @@
4135 0xF1,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4136 };
4137
4138-uchar to_upper_hp8_english_ci[] = {
4139+static const uchar to_upper_hp8_english_ci[] = {
4140 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4141 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4142 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4143@@ -428,7 +428,7 @@
4144 0xF0,0xF0,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4145 };
4146
4147-uchar sort_order_hp8_english_ci[] = {
4148+static const uchar sort_order_hp8_english_ci[] = {
4149 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4150 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4151 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4152@@ -447,7 +447,7 @@
4153 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4154 };
4155
4156-uint16 to_uni_hp8_english_ci[] = {
4157+static const uint16 to_uni_hp8_english_ci[] = {
4158 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4159 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4160 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4161@@ -485,7 +485,7 @@
4162 #endif
4163
4164 #ifdef HAVE_CHARSET_koi8r
4165-uchar ctype_koi8r_general_ci[] = {
4166+static const uchar ctype_koi8r_general_ci[] = {
4167 0x00,
4168 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4169 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4170@@ -505,7 +505,7 @@
4171 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01
4172 };
4173
4174-uchar to_lower_koi8r_general_ci[] = {
4175+static const uchar to_lower_koi8r_general_ci[] = {
4176 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4177 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4178 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4179@@ -524,7 +524,7 @@
4180 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
4181 };
4182
4183-uchar to_upper_koi8r_general_ci[] = {
4184+static const uchar to_upper_koi8r_general_ci[] = {
4185 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4186 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4187 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4188@@ -543,7 +543,7 @@
4189 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4190 };
4191
4192-uchar sort_order_koi8r_general_ci[] = {
4193+static const uchar sort_order_koi8r_general_ci[] = {
4194 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4195 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4196 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4197@@ -562,7 +562,7 @@
4198 0xEF,0xFF,0xF0,0xF1,0xF2,0xF3,0xE6,0xE1,0xFC,0xFB,0xE7,0xF8,0xFD,0xF9,0xF7,0xFA
4199 };
4200
4201-uint16 to_uni_koi8r_general_ci[] = {
4202+static const uint16 to_uni_koi8r_general_ci[] = {
4203 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4204 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4205 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4206@@ -600,7 +600,7 @@
4207 #endif
4208
4209 #ifdef HAVE_CHARSET_latin2
4210-uchar ctype_latin2_general_ci[] = {
4211+static const uchar ctype_latin2_general_ci[] = {
4212 0x00,
4213 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4214 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4215@@ -620,7 +620,7 @@
4216 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
4217 };
4218
4219-uchar to_lower_latin2_general_ci[] = {
4220+static const uchar to_lower_latin2_general_ci[] = {
4221 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4222 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4223 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4224@@ -639,7 +639,7 @@
4225 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4226 };
4227
4228-uchar to_upper_latin2_general_ci[] = {
4229+static const uchar to_upper_latin2_general_ci[] = {
4230 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4231 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4232 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4233@@ -658,7 +658,7 @@
4234 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
4235 };
4236
4237-uchar sort_order_latin2_general_ci[] = {
4238+static const uchar sort_order_latin2_general_ci[] = {
4239 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4240 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4241 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4242@@ -677,7 +677,7 @@
4243 0xFF,0x55,0x54,0x57,0x56,0x56,0x56,0xFF,0x5A,0x5F,0x5F,0x5F,0x5F,0x63,0x5E,0xFF
4244 };
4245
4246-uint16 to_uni_latin2_general_ci[] = {
4247+static const uint16 to_uni_latin2_general_ci[] = {
4248 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4249 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4250 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4251@@ -715,7 +715,7 @@
4252 #endif
4253
4254 #ifdef HAVE_CHARSET_swe7
4255-uchar ctype_swe7_swedish_ci[] = {
4256+static const uchar ctype_swe7_swedish_ci[] = {
4257 0x00,
4258 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4259 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4260@@ -735,7 +735,7 @@
4261 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
4262 };
4263
4264-uchar to_lower_swe7_swedish_ci[] = {
4265+static const uchar to_lower_swe7_swedish_ci[] = {
4266 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4267 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4268 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4269@@ -754,7 +754,7 @@
4270 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4271 };
4272
4273-uchar to_upper_swe7_swedish_ci[] = {
4274+static const uchar to_upper_swe7_swedish_ci[] = {
4275 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4276 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4277 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4278@@ -773,7 +773,7 @@
4279 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4280 };
4281
4282-uchar sort_order_swe7_swedish_ci[] = {
4283+static const uchar sort_order_swe7_swedish_ci[] = {
4284 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4285 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4286 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4287@@ -792,7 +792,7 @@
4288 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4289 };
4290
4291-uint16 to_uni_swe7_swedish_ci[] = {
4292+static const uint16 to_uni_swe7_swedish_ci[] = {
4293 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4294 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4295 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4296@@ -830,7 +830,7 @@
4297 #endif
4298
4299 #ifdef HAVE_CHARSET_ascii
4300-uchar ctype_ascii_general_ci[] = {
4301+static const uchar ctype_ascii_general_ci[] = {
4302 0x00,
4303 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4304 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4305@@ -850,7 +850,7 @@
4306 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
4307 };
4308
4309-uchar to_lower_ascii_general_ci[] = {
4310+static const uchar to_lower_ascii_general_ci[] = {
4311 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4312 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4313 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4314@@ -869,45 +869,45 @@
4315 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4316 };
4317
4318-uchar to_upper_ascii_general_ci[] = {
4319-0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4320-0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4321-0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4322-0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
4323-0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
4324-0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
4325-0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
4326-0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
4327-0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
4328-0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
4329-0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
4330-0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
4331-0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
4332-0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
4333-0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
4334-0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4335-};
4336-
4337-uchar sort_order_ascii_general_ci[] = {
4338-0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4339-0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4340-0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4341-0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
4342-0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
4343-0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
4344-0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
4345-0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
4346-0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
4347-0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
4348-0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
4349-0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
4350-0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
4351-0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
4352-0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
4353-0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4354-};
4355-
4356-uint16 to_uni_ascii_general_ci[] = {
4357+static const uchar to_upper_ascii_general_ci[] = {
4358+0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4359+0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4360+0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4361+0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
4362+0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
4363+0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
4364+0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
4365+0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
4366+0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
4367+0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
4368+0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
4369+0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
4370+0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
4371+0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
4372+0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
4373+0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4374+};
4375+
4376+static const uchar sort_order_ascii_general_ci[] = {
4377+0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4378+0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4379+0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4380+0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
4381+0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
4382+0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
4383+0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
4384+0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
4385+0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
4386+0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
4387+0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
4388+0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
4389+0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
4390+0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
4391+0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
4392+0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4393+};
4394+
4395+static const uint16 to_uni_ascii_general_ci[] = {
4396 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4397 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4398 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4399@@ -945,7 +945,7 @@
4400 #endif
4401
4402 #ifdef HAVE_CHARSET_cp1251
4403-uchar ctype_cp1251_bulgarian_ci[] = {
4404+static const uchar ctype_cp1251_bulgarian_ci[] = {
4405 0x00,
4406 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4407 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4408@@ -965,7 +965,7 @@
4409 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
4410 };
4411
4412-uchar to_lower_cp1251_bulgarian_ci[] = {
4413+static const uchar to_lower_cp1251_bulgarian_ci[] = {
4414 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4415 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4416 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4417@@ -984,7 +984,7 @@
4418 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4419 };
4420
4421-uchar to_upper_cp1251_bulgarian_ci[] = {
4422+static const uchar to_upper_cp1251_bulgarian_ci[] = {
4423 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4424 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4425 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4426@@ -1003,7 +1003,7 @@
4427 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
4428 };
4429
4430-uchar sort_order_cp1251_bulgarian_ci[] = {
4431+static const uchar sort_order_cp1251_bulgarian_ci[] = {
4432 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4433 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4434 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4435@@ -1022,7 +1022,7 @@
4436 0x6C,0x6D,0x6E,0x6F,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B
4437 };
4438
4439-uint16 to_uni_cp1251_bulgarian_ci[] = {
4440+static const uint16 to_uni_cp1251_bulgarian_ci[] = {
4441 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4442 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4443 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4444@@ -1060,7 +1060,7 @@
4445 #endif
4446
4447 #ifdef HAVE_CHARSET_latin1
4448-uchar ctype_latin1_danish_ci[] = {
4449+static const uchar ctype_latin1_danish_ci[] = {
4450 0x00,
4451 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4452 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4453@@ -1080,7 +1080,7 @@
4454 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
4455 };
4456
4457-uchar to_lower_latin1_danish_ci[] = {
4458+static const uchar to_lower_latin1_danish_ci[] = {
4459 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4460 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4461 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4462@@ -1099,7 +1099,7 @@
4463 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4464 };
4465
4466-uchar to_upper_latin1_danish_ci[] = {
4467+static const uchar to_upper_latin1_danish_ci[] = {
4468 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4469 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4470 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4471@@ -1118,7 +1118,7 @@
4472 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
4473 };
4474
4475-uchar sort_order_latin1_danish_ci[] = {
4476+static const uchar sort_order_latin1_danish_ci[] = {
4477 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4478 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4479 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4480@@ -1137,7 +1137,7 @@
4481 0x44,0x4E,0x4F,0x4F,0x4F,0x4F,0x5C,0xF7,0x5C,0x55,0x55,0x55,0x59,0x59,0xDE,0xFF
4482 };
4483
4484-uint16 to_uni_latin1_danish_ci[] = {
4485+static const uint16 to_uni_latin1_danish_ci[] = {
4486 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4487 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4488 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4489@@ -1175,7 +1175,7 @@
4490 #endif
4491
4492 #ifdef HAVE_CHARSET_hebrew
4493-uchar ctype_hebrew_general_ci[] = {
4494+static const uchar ctype_hebrew_general_ci[] = {
4495 0x00,
4496 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4497 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4498@@ -1195,7 +1195,7 @@
4499 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00,0x00,0x20,0x20,0x00
4500 };
4501
4502-uchar to_lower_hebrew_general_ci[] = {
4503+static const uchar to_lower_hebrew_general_ci[] = {
4504 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4505 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4506 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4507@@ -1214,7 +1214,7 @@
4508 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4509 };
4510
4511-uchar to_upper_hebrew_general_ci[] = {
4512+static const uchar to_upper_hebrew_general_ci[] = {
4513 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4514 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4515 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4516@@ -1233,7 +1233,7 @@
4517 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4518 };
4519
4520-uchar sort_order_hebrew_general_ci[] = {
4521+static const uchar sort_order_hebrew_general_ci[] = {
4522 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4523 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4524 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4525@@ -1252,7 +1252,7 @@
4526 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4527 };
4528
4529-uint16 to_uni_hebrew_general_ci[] = {
4530+static const uint16 to_uni_hebrew_general_ci[] = {
4531 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4532 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4533 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4534@@ -1290,7 +1290,7 @@
4535 #endif
4536
4537 #ifdef HAVE_CHARSET_latin7
4538-uchar ctype_latin7_estonian_cs[] = {
4539+static const uchar ctype_latin7_estonian_cs[] = {
4540 0x00,
4541 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4542 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4543@@ -1310,7 +1310,7 @@
4544 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
4545 };
4546
4547-uchar to_lower_latin7_estonian_cs[] = {
4548+static const uchar to_lower_latin7_estonian_cs[] = {
4549 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4550 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4551 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4552@@ -1329,7 +1329,7 @@
4553 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4554 };
4555
4556-uchar to_upper_latin7_estonian_cs[] = {
4557+static const uchar to_upper_latin7_estonian_cs[] = {
4558 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4559 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4560 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4561@@ -1348,7 +1348,7 @@
4562 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
4563 };
4564
4565-uchar sort_order_latin7_estonian_cs[] = {
4566+static const uchar sort_order_latin7_estonian_cs[] = {
4567 0x00,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x2E,0x2F,0x30,0x31,0x32,0x0A,0x0B,
4568 0x0C,0x0D,0x0E,0x0F,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,
4569 0x2C,0x33,0x34,0x35,0x36,0x37,0x38,0x27,0x39,0x3A,0x3B,0x5D,0x3C,0x28,0x3D,0x3E,
4570@@ -1367,7 +1367,7 @@
4571 0xDC,0xC3,0xC5,0xC9,0xCB,0xF3,0xF7,0x65,0xED,0xBD,0xD9,0xEB,0xF9,0xE2,0xE4,0x53
4572 };
4573
4574-uint16 to_uni_latin7_estonian_cs[] = {
4575+static const uint16 to_uni_latin7_estonian_cs[] = {
4576 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4577 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4578 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4579@@ -1405,7 +1405,7 @@
4580 #endif
4581
4582 #ifdef HAVE_CHARSET_latin2
4583-uchar ctype_latin2_hungarian_ci[] = {
4584+static const uchar ctype_latin2_hungarian_ci[] = {
4585 0x00,
4586 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4587 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4588@@ -1425,7 +1425,7 @@
4589 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
4590 };
4591
4592-uchar to_lower_latin2_hungarian_ci[] = {
4593+static const uchar to_lower_latin2_hungarian_ci[] = {
4594 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4595 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4596 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4597@@ -1444,7 +1444,7 @@
4598 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4599 };
4600
4601-uchar to_upper_latin2_hungarian_ci[] = {
4602+static const uchar to_upper_latin2_hungarian_ci[] = {
4603 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4604 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4605 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4606@@ -1463,7 +1463,7 @@
4607 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
4608 };
4609
4610-uchar sort_order_latin2_hungarian_ci[] = {
4611+static const uchar sort_order_latin2_hungarian_ci[] = {
4612 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4613 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4614 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4615@@ -1482,7 +1482,7 @@
4616 0xFF,0x62,0x63,0x64,0x66,0x67,0x67,0xFF,0x6D,0x77,0x75,0x78,0x78,0x7E,0x74,0xFF
4617 };
4618
4619-uint16 to_uni_latin2_hungarian_ci[] = {
4620+static const uint16 to_uni_latin2_hungarian_ci[] = {
4621 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4622 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4623 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4624@@ -1520,7 +1520,7 @@
4625 #endif
4626
4627 #ifdef HAVE_CHARSET_koi8u
4628-uchar ctype_koi8u_general_ci[] = {
4629+static const uchar ctype_koi8u_general_ci[] = {
4630 0x00,
4631 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4632 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4633@@ -1540,7 +1540,7 @@
4634 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01
4635 };
4636
4637-uchar to_lower_koi8u_general_ci[] = {
4638+static const uchar to_lower_koi8u_general_ci[] = {
4639 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4640 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4641 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4642@@ -1559,7 +1559,7 @@
4643 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
4644 };
4645
4646-uchar to_upper_koi8u_general_ci[] = {
4647+static const uchar to_upper_koi8u_general_ci[] = {
4648 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4649 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4650 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4651@@ -1578,7 +1578,7 @@
4652 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4653 };
4654
4655-uchar sort_order_koi8u_general_ci[] = {
4656+static const uchar sort_order_koi8u_general_ci[] = {
4657 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4658 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4659 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4660@@ -1597,7 +1597,7 @@
4661 0x94,0xA4,0x95,0x96,0x97,0x98,0x89,0x82,0xA1,0xA0,0x8A,0x9D,0xA2,0x9E,0x9C,0x9F
4662 };
4663
4664-uint16 to_uni_koi8u_general_ci[] = {
4665+static const uint16 to_uni_koi8u_general_ci[] = {
4666 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4667 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4668 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4669@@ -1635,7 +1635,7 @@
4670 #endif
4671
4672 #ifdef HAVE_CHARSET_cp1251
4673-uchar ctype_cp1251_ukrainian_ci[] = {
4674+static const uchar ctype_cp1251_ukrainian_ci[] = {
4675 0x00,
4676 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4677 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4678@@ -1655,7 +1655,7 @@
4679 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
4680 };
4681
4682-uchar to_lower_cp1251_ukrainian_ci[] = {
4683+static const uchar to_lower_cp1251_ukrainian_ci[] = {
4684 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4685 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4686 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4687@@ -1674,7 +1674,7 @@
4688 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4689 };
4690
4691-uchar to_upper_cp1251_ukrainian_ci[] = {
4692+static const uchar to_upper_cp1251_ukrainian_ci[] = {
4693 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4694 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4695 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4696@@ -1693,7 +1693,7 @@
4697 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
4698 };
4699
4700-uchar sort_order_cp1251_ukrainian_ci[] = {
4701+static const uchar sort_order_cp1251_ukrainian_ci[] = {
4702 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4703 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4704 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4705@@ -1712,7 +1712,7 @@
4706 0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4
4707 };
4708
4709-uint16 to_uni_cp1251_ukrainian_ci[] = {
4710+static const uint16 to_uni_cp1251_ukrainian_ci[] = {
4711 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4712 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4713 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4714@@ -1750,7 +1750,7 @@
4715 #endif
4716
4717 #ifdef HAVE_CHARSET_greek
4718-uchar ctype_greek_general_ci[] = {
4719+static const uchar ctype_greek_general_ci[] = {
4720 0x00,
4721 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4722 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4723@@ -1770,7 +1770,7 @@
4724 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00
4725 };
4726
4727-uchar to_lower_greek_general_ci[] = {
4728+static const uchar to_lower_greek_general_ci[] = {
4729 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4730 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4731 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4732@@ -1789,7 +1789,7 @@
4733 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4734 };
4735
4736-uchar to_upper_greek_general_ci[] = {
4737+static const uchar to_upper_greek_general_ci[] = {
4738 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4739 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4740 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4741@@ -1808,7 +1808,7 @@
4742 0xD0,0xD1,0xD3,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xCF,0xD5,0xD9,0xFF
4743 };
4744
4745-uchar sort_order_greek_general_ci[] = {
4746+static const uchar sort_order_greek_general_ci[] = {
4747 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4748 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4749 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4750@@ -1827,7 +1827,7 @@
4751 0xD0,0xD1,0xD3,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xC9,0xD5,0xCF,0xD5,0xD9,0xFF
4752 };
4753
4754-uint16 to_uni_greek_general_ci[] = {
4755+static const uint16 to_uni_greek_general_ci[] = {
4756 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4757 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4758 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4759@@ -1865,7 +1865,7 @@
4760 #endif
4761
4762 #ifdef HAVE_CHARSET_cp1250
4763-uchar ctype_cp1250_general_ci[] = {
4764+static const uchar ctype_cp1250_general_ci[] = {
4765 0x00,
4766 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4767 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4768@@ -1885,7 +1885,7 @@
4769 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
4770 };
4771
4772-uchar to_lower_cp1250_general_ci[] = {
4773+static const uchar to_lower_cp1250_general_ci[] = {
4774 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4775 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4776 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4777@@ -1904,7 +1904,7 @@
4778 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4779 };
4780
4781-uchar to_upper_cp1250_general_ci[] = {
4782+static const uchar to_upper_cp1250_general_ci[] = {
4783 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4784 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4785 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4786@@ -1923,7 +1923,7 @@
4787 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
4788 };
4789
4790-uchar sort_order_cp1250_general_ci[] = {
4791+static const uchar sort_order_cp1250_general_ci[] = {
4792 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4793 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4794 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4795@@ -1942,7 +1942,7 @@
4796 0x47,0x53,0x53,0x55,0x55,0x55,0x55,0xF7,0x58,0x5C,0x5C,0x5C,0x5C,0x60,0x5B,0xFF
4797 };
4798
4799-uint16 to_uni_cp1250_general_ci[] = {
4800+static const uint16 to_uni_cp1250_general_ci[] = {
4801 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4802 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4803 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4804@@ -1980,7 +1980,7 @@
4805 #endif
4806
4807 #ifdef HAVE_CHARSET_latin2
4808-uchar ctype_latin2_croatian_ci[] = {
4809+static const uchar ctype_latin2_croatian_ci[] = {
4810 0x00,
4811 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4812 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4813@@ -2000,7 +2000,7 @@
4814 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
4815 };
4816
4817-uchar to_lower_latin2_croatian_ci[] = {
4818+static const uchar to_lower_latin2_croatian_ci[] = {
4819 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4820 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4821 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4822@@ -2019,7 +2019,7 @@
4823 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4824 };
4825
4826-uchar to_upper_latin2_croatian_ci[] = {
4827+static const uchar to_upper_latin2_croatian_ci[] = {
4828 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4829 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4830 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4831@@ -2038,7 +2038,7 @@
4832 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
4833 };
4834
4835-uchar sort_order_latin2_croatian_ci[] = {
4836+static const uchar sort_order_latin2_croatian_ci[] = {
4837 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4838 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4839 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4840@@ -2057,7 +2057,7 @@
4841 0x4A,0x57,0x57,0x59,0x59,0x59,0x59,0xFE,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0xFF
4842 };
4843
4844-uint16 to_uni_latin2_croatian_ci[] = {
4845+static const uint16 to_uni_latin2_croatian_ci[] = {
4846 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4847 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4848 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4849@@ -2095,7 +2095,7 @@
4850 #endif
4851
4852 #ifdef HAVE_CHARSET_cp1257
4853-uchar ctype_cp1257_lithuanian_ci[] = {
4854+static const uchar ctype_cp1257_lithuanian_ci[] = {
4855 0x00,
4856 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4857 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4858@@ -2115,7 +2115,7 @@
4859 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00
4860 };
4861
4862-uchar to_lower_cp1257_lithuanian_ci[] = {
4863+static const uchar to_lower_cp1257_lithuanian_ci[] = {
4864 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4865 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4866 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4867@@ -2134,7 +2134,7 @@
4868 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4869 };
4870
4871-uchar to_upper_cp1257_lithuanian_ci[] = {
4872+static const uchar to_upper_cp1257_lithuanian_ci[] = {
4873 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4874 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4875 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4876@@ -2153,7 +2153,7 @@
4877 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
4878 };
4879
4880-uchar sort_order_cp1257_lithuanian_ci[] = {
4881+static const uchar sort_order_cp1257_lithuanian_ci[] = {
4882 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4883 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4884 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4885@@ -2172,7 +2172,7 @@
4886 0x5A,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x5E,0xFF,0xFF,0x5D,0xFF,0xFF,0xFF,0xFF
4887 };
4888
4889-uint16 to_uni_cp1257_lithuanian_ci[] = {
4890+static const uint16 to_uni_cp1257_lithuanian_ci[] = {
4891 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4892 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4893 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4894@@ -2210,7 +2210,7 @@
4895 #endif
4896
4897 #ifdef HAVE_CHARSET_latin5
4898-uchar ctype_latin5_turkish_ci[] = {
4899+static const uchar ctype_latin5_turkish_ci[] = {
4900 0x00,
4901 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4902 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4903@@ -2230,7 +2230,7 @@
4904 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
4905 };
4906
4907-uchar to_lower_latin5_turkish_ci[] = {
4908+static const uchar to_lower_latin5_turkish_ci[] = {
4909 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4910 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4911 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4912@@ -2249,7 +2249,7 @@
4913 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4914 };
4915
4916-uchar to_upper_latin5_turkish_ci[] = {
4917+static const uchar to_upper_latin5_turkish_ci[] = {
4918 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4919 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4920 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4921@@ -2268,7 +2268,7 @@
4922 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0x49,0xDE,0xFF
4923 };
4924
4925-uchar sort_order_latin5_turkish_ci[] = {
4926+static const uchar sort_order_latin5_turkish_ci[] = {
4927 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4928 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4929 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4930@@ -2287,7 +2287,7 @@
4931 0x49,0x51,0x52,0x52,0x52,0x52,0x53,0xFA,0x52,0x5A,0x5A,0x5A,0x5B,0x4B,0x58,0x5F
4932 };
4933
4934-uint16 to_uni_latin5_turkish_ci[] = {
4935+static const uint16 to_uni_latin5_turkish_ci[] = {
4936 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4937 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4938 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4939@@ -2325,7 +2325,7 @@
4940 #endif
4941
4942 #ifdef HAVE_CHARSET_armscii8
4943-uchar ctype_armscii8_general_ci[] = {
4944+static const uchar ctype_armscii8_general_ci[] = {
4945 0x00,
4946 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4947 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4948@@ -2345,7 +2345,7 @@
4949 0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x10,0x10
4950 };
4951
4952-uchar to_lower_armscii8_general_ci[] = {
4953+static const uchar to_lower_armscii8_general_ci[] = {
4954 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4955 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4956 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4957@@ -2364,7 +2364,7 @@
4958 0xF1,0xF1,0xF3,0xF3,0xF5,0xF5,0xF7,0xF7,0xF9,0xF9,0xFB,0xFB,0xFD,0xFD,0xFE,0xFF
4959 };
4960
4961-uchar to_upper_armscii8_general_ci[] = {
4962+static const uchar to_upper_armscii8_general_ci[] = {
4963 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4964 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4965 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4966@@ -2383,7 +2383,7 @@
4967 0xF0,0xF0,0xF2,0xF2,0xF4,0xF4,0xF6,0xF6,0xF8,0xF8,0xFA,0xFA,0xFC,0xFC,0xFE,0xFF
4968 };
4969
4970-uchar sort_order_armscii8_general_ci[] = {
4971+static const uchar sort_order_armscii8_general_ci[] = {
4972 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4973 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4974 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4975@@ -2402,7 +2402,7 @@
4976 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
4977 };
4978
4979-uint16 to_uni_armscii8_general_ci[] = {
4980+static const uint16 to_uni_armscii8_general_ci[] = {
4981 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4982 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4983 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4984@@ -2440,7 +2440,7 @@
4985 #endif
4986
4987 #ifdef HAVE_CHARSET_cp866
4988-uchar ctype_cp866_general_ci[] = {
4989+static const uchar ctype_cp866_general_ci[] = {
4990 0x00,
4991 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4992 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4993@@ -2460,7 +2460,7 @@
4994 0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x48
4995 };
4996
4997-uchar to_lower_cp866_general_ci[] = {
4998+static const uchar to_lower_cp866_general_ci[] = {
4999 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
5000 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches