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 f09e376..b9dee27 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 d893480..9dfd8b8 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 4631848..12fcdb6 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); } |