Merged r5591 from trunk:
authoredwin <none@none>
Sat, 30 Sep 2006 22:24:28 +0000 (22:24 +0000)
committeredwin <none@none>
Sat, 30 Sep 2006 22:24:28 +0000 (22:24 +0000)
* src/native/jni.c (GetVersion): Prefixed with _Jv_, we should do that
with all JNI functions.

--HG--
branch : unified_variables

src/native/jni.c

index c2e6dabfac010489d918afb94e58b58262a1628c..f44a7ff17eca1374c0333494068e78c55b70d257 100644 (file)
@@ -32,7 +32,7 @@
             Christian Thalinger
                        Edwin Steiner
 
-   $Id: jni.c 5580 2006-09-29 12:46:15Z edwin $
+   $Id: jni.c 5593 2006-09-30 22:24:28Z edwin $
 
 */
 
@@ -1016,14 +1016,14 @@ java_objectheader *_Jv_jni_invokeNative(methodinfo *m, java_objectheader *o,
 }
 
 
-/* GetVersion ******************************************************************
+/* _Jv_GetVersion **************************************************************
 
    Returns the major version number in the higher 16 bits and the
    minor version number in the lower 16 bits.
 
 *******************************************************************************/
 
-jint GetVersion(JNIEnv *env)
+jint _Jv_GetVersion(JNIEnv *env)
 {
        STATISTICS(jniinvokation());
 
@@ -5475,7 +5475,7 @@ struct JNINativeInterface _Jv_JNINativeInterface = {
        NULL,
        NULL,
        NULL,    
-       GetVersion,
+       _Jv_GetVersion,
 
        DefineClass,
        FindClass,