Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused apiGetProviderVersion #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/feature/api/org_torproject_jni_TorService.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,6 @@ Java_org_torproject_jni_TorService_mainConfigurationFree
tor_main_configuration_free(cfg);
}

JNIEXPORT jstring JNICALL
Java_org_torproject_jni_TorService_apiGetProviderVersion
(JNIEnv *env, jobject _ignore)
{
UNUSED(_ignore);
return (*env)->NewStringUTF(env, tor_api_get_provider_version());
}

JNIEXPORT jint JNICALL
Java_org_torproject_jni_TorService_runMain
(JNIEnv *env, jobject thisObj)
Expand Down
9 changes: 0 additions & 9 deletions src/feature/api/org_torproject_jni_TorService.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@ JNIEXPORT void JNICALL
Java_org_torproject_jni_TorService_mainConfigurationFree
(JNIEnv *, jobject);

/*
* Class: org_torproject_jni_TorService
* Method: apiGetProviderVersion
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL
Java_org_torproject_jni_TorService_apiGetProviderVersion
(JNIEnv *, jobject);

/*
* Class: org_torproject_jni_TorService
* Method: runMain
Expand Down