Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.
Mike McCormack <mike@codeweavers.com>
- Fix some declaration and write string warnings.
svn path=/trunk/; revision=16436
static int cmp_codepage( const void *codepage, const void *entry )
{
- return (unsigned int)codepage - (*(const union cptable **)entry)->info.codepage;
+ return (unsigned int)codepage - (*(const union cptable *const *)entry)->info.codepage;
}
typedef unsigned char uchar;
/* get the decomposition of a Unicode char */
-int get_decomposition( WCHAR src, WCHAR *dst, unsigned int dstlen )
+static int get_decomposition( WCHAR src, WCHAR *dst, unsigned int dstlen )
{
extern const WCHAR unicode_decompose_table[];
const WCHAR *ptr = unicode_decompose_table;