summaryrefslogtreecommitdiff
path: root/jni/jniglue.c
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-03-18 17:20:30 +0100
committerArne Schwabe <arne@rfc2549.org>2013-03-18 17:20:30 +0100
commit6ba818e5c9e1d7d50478cf161fe819597499477d (patch)
tree2fcd13e8cd3c0e61821e4c5486f0e9d8ae231a00 /jni/jniglue.c
parent098204e653c958da12ae864d3b6c183e716c2a9b (diff)
Move native functions into own class.
This way the Gui will not always load the native libraries when showing profiles and allows some GUI modifications without compiling ndk code
Diffstat (limited to 'jni/jniglue.c')
-rw-r--r--jni/jniglue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jni/jniglue.c b/jni/jniglue.c
index 15b78014..c3b4bf3b 100644
--- a/jni/jniglue.c
+++ b/jni/jniglue.c
@@ -16,7 +16,7 @@ void android_openvpn_log(int level,const char* prefix,const char* prefix_sep,con
__android_log_print(ANDROID_LOG_DEBUG,"openvpn","%s%s%s",prefix,prefix_sep,m1);
}
-void Java_de_blinkt_openvpn_core_OpenVpnManagementThread_jniclose(JNIEnv *env,jclass jo, jint fd) {
+void Java_de_blinkt_openvpn_core_NativeUtils_jniclose(JNIEnv *env,jclass jo, jint fd) {
int ret = close(fd);
}