[Commits] SDL: android: Fixed parameter list in function definitions.

libsdl.org revision control commits-owner at libsdl.org
Thu May 25 14:10:30 PDT 2017


details:   https://hg.libsdl.org/SDL/rev/b1475dc05bd0
changeset: 11031:b1475dc05bd0
user:      Philipp Wiesemann <philipp.wiesemann at arcor.de>
date:      Thu May 25 23:01:16 2017 +0200
description:
android: Fixed parameter list in function definitions.

diffstat:

 src/core/android/SDL_android.c |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (47 lines):

diff -r 06a801c7a54f -r b1475dc05bd0 src/core/android/SDL_android.c
--- a/src/core/android/SDL_android.c	Thu May 25 23:00:58 2017 +0200
+++ b/src/core/android/SDL_android.c	Thu May 25 23:01:16 2017 +0200
@@ -1712,14 +1712,12 @@
 //////////////////////////////////////////////////////////////////////////////
 */
 
-void *SDL_AndroidGetJNIEnv()
+void *SDL_AndroidGetJNIEnv(void)
 {
     return Android_JNI_GetEnv();
 }
 
-
-
-void *SDL_AndroidGetActivity()
+void *SDL_AndroidGetActivity(void)
 {
     /* See SDL_system.h for caveats on using this function. */
 
@@ -1736,7 +1734,7 @@
     return (*env)->CallStaticObjectMethod(env, mActivityClass, mid);
 }
 
-const char * SDL_AndroidGetInternalStoragePath()
+const char * SDL_AndroidGetInternalStoragePath(void)
 {
     static char *s_AndroidInternalFilesPath = NULL;
 
@@ -1783,7 +1781,7 @@
     return s_AndroidInternalFilesPath;
 }
 
-int SDL_AndroidGetExternalStorageState()
+int SDL_AndroidGetExternalStorageState(void)
 {
     struct LocalReferenceHolder refs = LocalReferenceHolder_Setup(__FUNCTION__);
     jmethodID mid;
@@ -1822,7 +1820,7 @@
     return stateFlags;
 }
 
-const char * SDL_AndroidGetExternalStoragePath()
+const char * SDL_AndroidGetExternalStoragePath(void)
 {
     static char *s_AndroidExternalFilesPath = NULL;
 


More information about the commits mailing list