include/SDL_system.h
changeset 10672 10fb0ebc4fbf
parent 10638 d11daa346140
child 10737 3406a0f8b041
     1.1 --- a/include/SDL_system.h	Fri Dec 02 02:21:35 2016 -0800
     1.2 +++ b/include/SDL_system.h	Fri Dec 02 02:25:12 2016 -0800
     1.3 @@ -96,7 +96,7 @@
     1.4  
     1.5     This returns JNIEnv*, but the prototype is void* so we don't need jni.h
     1.6   */
     1.7 -extern DECLSPEC void * SDLCALL SDL_AndroidGetJNIEnv();
     1.8 +extern DECLSPEC void * SDLCALL SDL_AndroidGetJNIEnv(void);
     1.9  
    1.10  /**
    1.11     \brief Get the SDL Activity object for the application
    1.12 @@ -106,7 +106,7 @@
    1.13     It is the caller's responsibility to properly release it
    1.14     (using env->Push/PopLocalFrame or manually with env->DeleteLocalRef)
    1.15   */
    1.16 -extern DECLSPEC void * SDLCALL SDL_AndroidGetActivity();
    1.17 +extern DECLSPEC void * SDLCALL SDL_AndroidGetActivity(void);
    1.18  
    1.19  /**
    1.20     See the official Android developer guide for more information:
    1.21 @@ -121,7 +121,7 @@
    1.22     This path is unique to your application and cannot be written to
    1.23     by other applications.
    1.24   */
    1.25 -extern DECLSPEC const char * SDLCALL SDL_AndroidGetInternalStoragePath();
    1.26 +extern DECLSPEC const char * SDLCALL SDL_AndroidGetInternalStoragePath(void);
    1.27  
    1.28  /**
    1.29     \brief Get the current state of external storage, a bitmask of these values:
    1.30 @@ -130,7 +130,7 @@
    1.31  
    1.32     If external storage is currently unavailable, this will return 0.
    1.33  */
    1.34 -extern DECLSPEC int SDLCALL SDL_AndroidGetExternalStorageState();
    1.35 +extern DECLSPEC int SDLCALL SDL_AndroidGetExternalStorageState(void);
    1.36  
    1.37  /**
    1.38     \brief Get the path used for external storage for this application.
    1.39 @@ -138,7 +138,7 @@
    1.40     This path is unique to your application, but is public and can be
    1.41     written to by other applications.
    1.42   */
    1.43 -extern DECLSPEC const char * SDLCALL SDL_AndroidGetExternalStoragePath();
    1.44 +extern DECLSPEC const char * SDLCALL SDL_AndroidGetExternalStoragePath(void);
    1.45  
    1.46  #endif /* __ANDROID__ */
    1.47