PatchSet 6916 
Date: 2005/09/18 22:46:30
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed compiler warnings

2005-09-18  Andreas Tobler  <[EMAIL PROTECTED]>

        * libraries/clib/native/VMRuntime.c
        (Java_java_lang_VMRuntime_availableProcessors):
        Mark unused parameters as unused to fix compiler warnings.

Members: 
        ChangeLog:1.4437->1.4438 
        libraries/clib/native/VMRuntime.c:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4437 kaffe/ChangeLog:1.4438
--- kaffe/ChangeLog:1.4437      Sun Sep 18 22:08:15 2005
+++ kaffe/ChangeLog     Sun Sep 18 22:46:30 2005
@@ -1,3 +1,9 @@
+2005-09-18  Andreas Tobler  <[EMAIL PROTECTED]>
+
+       * libraries/clib/native/VMRuntime.c
+       (Java_java_lang_VMRuntime_availableProcessors):
+       Mark unused parameters as unused to fix compiler warnings.
+
 2005-09-18  Dalibor Topic  <[EMAIL PROTECTED]>
 
        * configure.ac: (--disable-boehm-gc-configuration)
Index: kaffe/libraries/clib/native/VMRuntime.c
diff -u kaffe/libraries/clib/native/VMRuntime.c:1.1 
kaffe/libraries/clib/native/VMRuntime.c:1.2
--- kaffe/libraries/clib/native/VMRuntime.c:1.1 Thu Sep 15 03:35:49 2005
+++ kaffe/libraries/clib/native/VMRuntime.c     Sun Sep 18 22:46:33 2005
@@ -57,7 +57,9 @@
  * Method:    availableProcessors
  * Signature: ()I
  */
-JNIEXPORT jint JNICALL Java_java_lang_VMRuntime_availableProcessors(JNIEnv 
*env, jclass clazz)
+JNIEXPORT jint JNICALL
+Java_java_lang_VMRuntime_availableProcessors(JNIEnv *env UNUSED,
+                                            jclass clazz UNUSED)
 {
 #if defined(HAVE_GET_NPROCS_CONF)
        return get_nprocs_conf();

_______________________________________________
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to