Android: fix prototype of Android_JNI_InitTouch
authorSylvain Becker <sylvain.becker@gmail.com>
Thu, 10 Jan 2019 21:49:00 +0100
changeset 12523a50245e1a2c9
parent 12522 24bbe1496ef7
child 12524 d8a3edfbab59
Android: fix prototype of Android_JNI_InitTouch
src/core/android/SDL_android.c
src/core/android/SDL_android.h
     1.1 --- a/src/core/android/SDL_android.c	Thu Jan 10 21:40:57 2019 +0100
     1.2 +++ b/src/core/android/SDL_android.c	Thu Jan 10 21:49:00 2019 +0100
     1.3 @@ -2090,7 +2090,7 @@
     1.4  }
     1.5  
     1.6  /* Add all touch devices */
     1.7 -int Android_JNI_InitTouch() {
     1.8 +void Android_JNI_InitTouch() {
     1.9       JNIEnv *env = Android_JNI_GetEnv();
    1.10      (*env)->CallStaticVoidMethod(env, mActivityClass, midInitTouch);
    1.11  }
     2.1 --- a/src/core/android/SDL_android.h	Thu Jan 10 21:40:57 2019 +0100
     2.2 +++ b/src/core/android/SDL_android.h	Thu Jan 10 21:49:00 2019 +0100
     2.3 @@ -93,7 +93,7 @@
     2.4  void Android_JNI_SuspendScreenSaver(SDL_bool suspend);
     2.5  
     2.6  /* Touch support */
     2.7 -int Android_JNI_InitTouch(void);
     2.8 +void Android_JNI_InitTouch(void);
     2.9  void Android_JNI_SetSeparateMouseAndTouch(SDL_bool new_value);
    2.10  
    2.11  /* Threads */