From 566e77ba4d61c200c97baac6e64f04afacae3562 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Thu, 7 Sep 2000 18:42:52 +0000 Subject: [PATCH] Added missing const to external tables definitions. --- include/wine/unicode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wine/unicode.h b/include/wine/unicode.h index da770f48e52..172d2164d05 100644 --- a/include/wine/unicode.h +++ b/include/wine/unicode.h @@ -63,13 +63,13 @@ static inline int is_dbcs_leadbyte( const union cptable *table, unsigned char ch static inline WCHAR tolowerW( WCHAR ch ) { - extern WCHAR casemap_lower[]; + extern const WCHAR casemap_lower[]; return ch + casemap_lower[casemap_lower[ch >> 8] + (ch & 0xff)]; } static inline WCHAR toupperW( WCHAR ch ) { - extern WCHAR casemap_upper[]; + extern const WCHAR casemap_upper[]; return ch + casemap_upper[casemap_upper[ch >> 8] + (ch & 0xff)]; } @@ -77,7 +77,7 @@ static inline WCHAR toupperW( WCHAR ch ) /* and the C2_* type in the high 4 bits */ static inline unsigned short get_char_typeW( WCHAR ch ) { - extern unsigned short wctype_table[]; + extern const unsigned short wctype_table[]; return wctype_table[wctype_table[ch >> 8] + (ch & 0xff)]; }