From: <suc...@us...> - 2007-02-11 21:06:57
|
Revision: 344 http://svn.sourceforge.net/pmplib/?rev=344&view=rev Author: sucknblow Date: 2007-02-11 13:06:58 -0800 (Sun, 11 Feb 2007) Log Message: ----------- Fix compile error on gcc 4.1.2, by using a prototype to declare ucs2check as static before it is used. ucs2char_iconv.c:108: error: static declaration of 'ucs2check' follows non-static declaration ucs2char_iconv.c:104: error: previous implicit declaration of 'ucs2check' was here Modified Paths: -------------- trunk/pmplib/lib/ucs2/ucs2char_iconv.c Modified: trunk/pmplib/lib/ucs2/ucs2char_iconv.c =================================================================== --- trunk/pmplib/lib/ucs2/ucs2char_iconv.c 2007-02-11 20:55:53 UTC (rev 343) +++ trunk/pmplib/lib/ucs2/ucs2char_iconv.c 2007-02-11 21:06:58 UTC (rev 344) @@ -65,6 +65,8 @@ static char g_encoding[128]; static char g_ucs2encoding[128]; +static int ucs2check(ucs2conv_t* conv); + static void print_ucs2(const ucs2char_t* str) { while (*str) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |