[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
jni-h-fix-warning-1.patch
From: |
Steven Augart |
Subject: |
jni-h-fix-warning-1.patch |
Date: |
Wed, 12 May 2004 15:21:48 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a) Gecko/20040504 |
--
Steven Augart
Jikes RVM, a free, open source, Virtual Machine:
http://oss.software.ibm.com/jikesrvm
Please add this patch with the following ChangeLog Entry:
2004-05-12 Steven Augart <address@hidden>
* include/jni.h.in: Fix a warning you otherwise get when compiling
with gcc (not g++) with the -Wstrict-prototypes flag.
Index: include/jni.h.in
===================================================================
RCS file: /cvsroot/classpath/classpath/include/jni.h.in,v
retrieving revision 1.8
diff -I*.class -u -r1.8 jni.h.in
--- include/jni.h.in 28 Apr 2004 21:40:33 -0000 1.8
+++ include/jni.h.in 12 May 2004 16:28:47 -0000
@@ -135,7 +135,7 @@
#ifdef __cplusplus
typedef void * (*_Jv_func) (...);
#else
-typedef void * (*_Jv_func) ();
+typedef void * (*_Jv_func) (JNIEnv *, ...);
#endif
#define _Jv_va_list va_list
- jni-h-fix-warning-1.patch,
Steven Augart <=