Hi,

On Tue, 2006-06-06 at 13:07 -0600, Tom Tromey wrote:
> from  Tom Tromey  <[EMAIL PROTECTED]>
>       * include/jni.h (JDK1_1InitArgs): New struct.
>       (JDK1_1AttachArgs): Likewise.

Here is a small refinement that makes it compile with -Werror and adds
JNICALL to the pointer-to-function types in the new JDK1_1InitArgs
struct.

2006-06-06  Mark Wielaard  <[EMAIL PROTECTED]>

    * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
    with JNICALL.

Committed,

Mark

--- include/jni.h       6 Jun 2006 19:11:16 -0000       1.7
+++ include/jni.h       6 Jun 2006 22:39:00 -0000
@@ -1604,9 +1604,9 @@
   jint verifyMode;
   const char *classpath;

-  jint (*vfprintf) (FILE *file, const char *fmt, va_list args);
-  void (*exit) (jint value);
-  void (*abort) ();
+  jint (JNICALL *vfprintf) (FILE *file, const char *fmt, va_list args);
+  void (JNICALL *exit) (jint value);
+  void (JNICALL *abort) (void);

   jint enableClassGC;
   jint enableVerboseGC;

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to