harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r540095 - /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyfiletext.c
Date Mon, 21 May 2007 10:03:55 GMT
Author: hindessm
Date: Mon May 21 03:03:49 2007
New Revision: 540095

URL: http://svn.apache.org/viewvc?view=rev&rev=540095
Log:
Adding missing function prototypes and removing unused variable.

Modified:
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyfiletext.c

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyfiletext.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyfiletext.c?view=diff&rev=540095&r1=540094&r2=540095
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyfiletext.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyfiletext.c
Mon May 21 03:03:49 2007
@@ -62,6 +62,11 @@
 #endif /* HYVM_USE_ICONV (autogen) */
 
 #if (defined(HYVM_USE_WCTOMB))
+U_32 decodeUTF8CharN (const U_8 * input, U_16 * result, U_32 bytesRemaining);
+U_32 decodeUTF8Char (const U_8 * input, U_16 * result);
+#endif
+
+#if (defined(HYVM_USE_WCTOMB))
 static IDATA walkUTF8String (const U_8 * buf, IDATA nbytes);
 #endif /* HYVM_USE_WCTOMB (autogen) */
 
@@ -512,7 +517,7 @@
                   IDATA nbytes)
 {
   char temp[64];
-  IDATA count, i, result;
+  IDATA count, i;
   char *cursor = buf;
 
   if (nbytes <= 0)



Mime
View raw message