Skip to content

Commit

Permalink
Android: fix prototype of Android_JNI_InitTouch
Browse files Browse the repository at this point in the history
  • Loading branch information
1bsyl committed Jan 10, 2019
1 parent 7a1d1ba commit b44a7ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/android/SDL_android.c
Expand Up @@ -2090,7 +2090,7 @@ int Android_JNI_GetPowerInfo(int *plugged, int *charged, int *battery, int *seco
}

/* Add all touch devices */
int Android_JNI_InitTouch() {
void Android_JNI_InitTouch() {
JNIEnv *env = Android_JNI_GetEnv();
(*env)->CallStaticVoidMethod(env, mActivityClass, midInitTouch);
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/android/SDL_android.h
Expand Up @@ -93,7 +93,7 @@ void Android_JNI_HapticStop(int device_id);
void Android_JNI_SuspendScreenSaver(SDL_bool suspend);

/* Touch support */
int Android_JNI_InitTouch(void);
void Android_JNI_InitTouch(void);
void Android_JNI_SetSeparateMouseAndTouch(SDL_bool new_value);

/* Threads */
Expand Down

0 comments on commit b44a7ae

Please sign in to comment.