From 85463c693eaf3e6d71ecfdf3bb187f9f0f8518ab Mon Sep 17 00:00:00 2001 From: tarotanaka0 Date: Thu, 4 Jun 2015 23:01:19 +0900 Subject: [PATCH] fix for -Wunused-parameters --- test/jni.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/jni.cpp b/test/jni.cpp index 76131dbe2b..18e418ab92 100644 --- a/test/jni.cpp +++ b/test/jni.cpp @@ -101,35 +101,35 @@ extern "C" JNIEXPORT jdouble JNICALL Java_JNI_addMix(JNIEnv*, } extern "C" JNIEXPORT jint JNICALL - Java_JNI_addStackBoundary2(JNIEnv* e, jclass c, jobject o1, jobject o2, jobject o3, + Java_JNI_addStackBoundary2(JNIEnv*, jclass, jobject, jobject, jobject, jint i1, jint i2) { return i1 + i2; } extern "C" JNIEXPORT jint JNICALL - Java_JNI_addStackBoundary3(JNIEnv* e, jclass c, jobject o1, jobject o2, jobject o3, + Java_JNI_addStackBoundary3(JNIEnv*, jclass, jobject, jobject, jobject, jint i1, jint i2, jint i3) { return i1 + i2 + i3; } extern "C" JNIEXPORT jint JNICALL - Java_JNI_addStackBoundary4(JNIEnv* e, jclass c, jobject o1, jobject o2, jobject o3, + Java_JNI_addStackBoundary4(JNIEnv*, jclass, jobject, jobject, jobject, jint i1, jint i2, jint i3, jint i4) { return i1 + i2 + i3 + i4; } extern "C" JNIEXPORT jint JNICALL - Java_JNI_addStackBoundary5(JNIEnv* e, jclass c, jobject o1, jobject o2, jobject o3, + Java_JNI_addStackBoundary5(JNIEnv*, jclass, jobject, jobject, jobject, jint i1, jint i2, jint i3, jint i4, jint i5) { return i1 + i2 + i3 + i4 + i5; } extern "C" JNIEXPORT jint JNICALL - Java_JNI_addStackBoundary6(JNIEnv* e, jclass c, jobject o1, jobject o2, jobject o3, + Java_JNI_addStackBoundary6(JNIEnv*, jclass, jobject, jobject, jobject, jint i1, jint i2, jint i3, jint i4, jint i5, jint i6) { return i1 + i2 + i3 + i4 + i5 + i6;