From b44a7aea8f19b4551367c2eee0652d79a772661a Mon Sep 17 00:00:00 2001 From: Sylvain Becker Date: Thu, 10 Jan 2019 21:49:00 +0100 Subject: [PATCH] Android: fix prototype of Android_JNI_InitTouch --- src/core/android/SDL_android.c | 2 +- src/core/android/SDL_android.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c index ee823dba5514b..ffaec0bfc28a0 100644 --- a/src/core/android/SDL_android.c +++ b/src/core/android/SDL_android.c @@ -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); } diff --git a/src/core/android/SDL_android.h b/src/core/android/SDL_android.h index e615c5a04a0ac..f437ab1abb7c8 100644 --- a/src/core/android/SDL_android.h +++ b/src/core/android/SDL_android.h @@ -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 */