android: Fixed parameter list in function definitions.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 25 May 2017 23:01:16 +0200
changeset 11031b1475dc05bd0
parent 11030 06a801c7a54f
child 11032 d4d9c2a86db1
android: Fixed parameter list in function definitions.
src/core/android/SDL_android.c
     1.1 --- a/src/core/android/SDL_android.c	Thu May 25 23:00:58 2017 +0200
     1.2 +++ b/src/core/android/SDL_android.c	Thu May 25 23:01:16 2017 +0200
     1.3 @@ -1712,14 +1712,12 @@
     1.4  //////////////////////////////////////////////////////////////////////////////
     1.5  */
     1.6  
     1.7 -void *SDL_AndroidGetJNIEnv()
     1.8 +void *SDL_AndroidGetJNIEnv(void)
     1.9  {
    1.10      return Android_JNI_GetEnv();
    1.11  }
    1.12  
    1.13 -
    1.14 -
    1.15 -void *SDL_AndroidGetActivity()
    1.16 +void *SDL_AndroidGetActivity(void)
    1.17  {
    1.18      /* See SDL_system.h for caveats on using this function. */
    1.19  
    1.20 @@ -1736,7 +1734,7 @@
    1.21      return (*env)->CallStaticObjectMethod(env, mActivityClass, mid);
    1.22  }
    1.23  
    1.24 -const char * SDL_AndroidGetInternalStoragePath()
    1.25 +const char * SDL_AndroidGetInternalStoragePath(void)
    1.26  {
    1.27      static char *s_AndroidInternalFilesPath = NULL;
    1.28  
    1.29 @@ -1783,7 +1781,7 @@
    1.30      return s_AndroidInternalFilesPath;
    1.31  }
    1.32  
    1.33 -int SDL_AndroidGetExternalStorageState()
    1.34 +int SDL_AndroidGetExternalStorageState(void)
    1.35  {
    1.36      struct LocalReferenceHolder refs = LocalReferenceHolder_Setup(__FUNCTION__);
    1.37      jmethodID mid;
    1.38 @@ -1822,7 +1820,7 @@
    1.39      return stateFlags;
    1.40  }
    1.41  
    1.42 -const char * SDL_AndroidGetExternalStoragePath()
    1.43 +const char * SDL_AndroidGetExternalStoragePath(void)
    1.44  {
    1.45      static char *s_AndroidExternalFilesPath = NULL;
    1.46