Sync to Wine-20050628:
Eric Pouech <pouech-eric(a)wanadoo.fr>
- Const correctness fixes.
Mike McCormack <mike(a)codeweavers.com>
- Fix some declaration and write string warnings.
Modified: trunk/reactos/tools/unicode/cptable.c
Modified: trunk/reactos/tools/unicode/mbtowc.c
_____
Modified: trunk/reactos/tools/unicode/cptable.c
--- trunk/reactos/tools/unicode/cptable.c 2005-07-05 19:52:25 UTC
(rev 16435)
+++ trunk/reactos/tools/unicode/cptable.c 2005-07-05 20:47:48 UTC
(rev 16436)
@@ -156,7 +156,7 @@
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;
}
_____
Modified: trunk/reactos/tools/unicode/mbtowc.c
--- trunk/reactos/tools/unicode/mbtowc.c 2005-07-05 19:52:25 UTC
(rev 16435)
+++ trunk/reactos/tools/unicode/mbtowc.c 2005-07-05 20:47:48 UTC
(rev 16436)
@@ -25,7 +25,7 @@
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;
Show replies by date