src/core/android/SDL_android.c
changeset 9594 0285b5e1c5ab
parent 9450 bcb16ffce95b
child 9619 b94b6d0bff0f
     1.1 --- a/src/core/android/SDL_android.c	Fri May 08 21:53:02 2015 +0200
     1.2 +++ b/src/core/android/SDL_android.c	Sat May 09 22:42:23 2015 +0200
     1.3 @@ -450,7 +450,7 @@
     1.4      }
     1.5  }
     1.6  
     1.7 -static SDL_bool LocalReferenceHolder_IsActive()
     1.8 +static SDL_bool LocalReferenceHolder_IsActive(void)
     1.9  {
    1.10      return s_active > 0;
    1.11  }
    1.12 @@ -468,7 +468,7 @@
    1.13      return anw;
    1.14  }
    1.15  
    1.16 -void Android_JNI_SwapWindow()
    1.17 +void Android_JNI_SwapWindow(void)
    1.18  {
    1.19      JNIEnv *mEnv = Android_JNI_GetEnv();
    1.20      (*mEnv)->CallStaticVoidMethod(mEnv, mActivityClass, midFlipBuffers);
    1.21 @@ -620,12 +620,12 @@
    1.22      return audioBufferFrames;
    1.23  }
    1.24  
    1.25 -void * Android_JNI_GetAudioBuffer()
    1.26 +void * Android_JNI_GetAudioBuffer(void)
    1.27  {
    1.28      return audioBufferPinned;
    1.29  }
    1.30  
    1.31 -void Android_JNI_WriteAudioBuffer()
    1.32 +void Android_JNI_WriteAudioBuffer(void)
    1.33  {
    1.34      JNIEnv *mAudioEnv = Android_JNI_GetEnv();
    1.35  
    1.36 @@ -640,7 +640,7 @@
    1.37      /* JNI_COMMIT means the changes are committed to the VM but the buffer remains pinned */
    1.38  }
    1.39  
    1.40 -void Android_JNI_CloseAudioDevice()
    1.41 +void Android_JNI_CloseAudioDevice(void)
    1.42  {
    1.43      JNIEnv *env = Android_JNI_GetEnv();
    1.44  
    1.45 @@ -1142,7 +1142,7 @@
    1.46      return 0;
    1.47  }
    1.48  
    1.49 -char* Android_JNI_GetClipboardText()
    1.50 +char* Android_JNI_GetClipboardText(void)
    1.51  {
    1.52      SETUP_CLIPBOARD(SDL_strdup(""))
    1.53  
    1.54 @@ -1168,7 +1168,7 @@
    1.55      return SDL_strdup("");
    1.56  }
    1.57  
    1.58 -SDL_bool Android_JNI_HasClipboardText()
    1.59 +SDL_bool Android_JNI_HasClipboardText(void)
    1.60  {
    1.61      SETUP_CLIPBOARD(SDL_FALSE)
    1.62  
    1.63 @@ -1304,7 +1304,7 @@
    1.64      return number;
    1.65  }
    1.66  
    1.67 -void Android_JNI_PollInputDevices()
    1.68 +void Android_JNI_PollInputDevices(void)
    1.69  {
    1.70      JNIEnv *env = Android_JNI_GetEnv();
    1.71      (*env)->CallStaticVoidMethod(env, mActivityClass, midPollInputDevices);    
    1.72 @@ -1351,7 +1351,7 @@
    1.73                                 inputRect->h );
    1.74  }
    1.75  
    1.76 -void Android_JNI_HideTextInput()
    1.77 +void Android_JNI_HideTextInput(void)
    1.78  {
    1.79      /* has to match Activity constant */
    1.80      const int COMMAND_TEXTEDIT_HIDE = 3;