diff options
Diffstat (limited to 'Tests/VSNsightTegra')
-rw-r--r-- | Tests/VSNsightTegra/jni/first.c | 4 | ||||
-rw-r--r-- | Tests/VSNsightTegra/jni/first.h | 2 | ||||
-rw-r--r-- | Tests/VSNsightTegra/jni/second.c | 9 |
3 files changed, 6 insertions, 9 deletions
diff --git a/Tests/VSNsightTegra/jni/first.c b/Tests/VSNsightTegra/jni/first.c index f09e376de0..b9dee2754c 100644 --- a/Tests/VSNsightTegra/jni/first.c +++ b/Tests/VSNsightTegra/jni/first.c @@ -16,7 +16,7 @@ */ #include "first.h" -int first(int x, int y) +int first(int x, int y) { - return x + y; + return x + y; } diff --git a/Tests/VSNsightTegra/jni/first.h b/Tests/VSNsightTegra/jni/first.h index d89348015b..9dfd8b886c 100644 --- a/Tests/VSNsightTegra/jni/first.h +++ b/Tests/VSNsightTegra/jni/first.h @@ -17,6 +17,6 @@ #ifndef FIRST_H #define FIRST_H -extern int first(int x, int y); +extern int first(int x, int y); #endif /* FIRST_H */ diff --git a/Tests/VSNsightTegra/jni/second.c b/Tests/VSNsightTegra/jni/second.c index 463184855b..12fcdb6a9e 100644 --- a/Tests/VSNsightTegra/jni/second.c +++ b/Tests/VSNsightTegra/jni/second.c @@ -17,11 +17,8 @@ #include "first.h" #include <jni.h> -jint -Java_com_example_twolibs_TwoLibs_add( JNIEnv* env, - jobject this, - jint x, - jint y ) +jint Java_com_example_twolibs_TwoLibs_add(JNIEnv* env, jobject this, jint x, + jint y) { - return first(x, y); + return first(x, y); } |