src/core/android/SDL_android.h
changeset 9594 0285b5e1c5ab
parent 9450 bcb16ffce95b
child 9619 b94b6d0bff0f
     1.1 --- a/src/core/android/SDL_android.h	Fri May 08 21:53:02 2015 +0200
     1.2 +++ b/src/core/android/SDL_android.h	Sat May 09 22:42:23 2015 +0200
     1.3 @@ -35,18 +35,18 @@
     1.4  /* Interface from the SDL library into the Android Java activity */
     1.5  /* extern SDL_bool Android_JNI_CreateContext(int majorVersion, int minorVersion, int red, int green, int blue, int alpha, int buffer, int depth, int stencil, int buffers, int samples);
     1.6  extern SDL_bool Android_JNI_DeleteContext(void); */
     1.7 -extern void Android_JNI_SwapWindow();
     1.8 +extern void Android_JNI_SwapWindow(void);
     1.9  extern void Android_JNI_SetActivityTitle(const char *title);
    1.10  extern SDL_bool Android_JNI_GetAccelerometerValues(float values[3]);
    1.11  extern void Android_JNI_ShowTextInput(SDL_Rect *inputRect);
    1.12 -extern void Android_JNI_HideTextInput();
    1.13 +extern void Android_JNI_HideTextInput(void);
    1.14  extern ANativeWindow* Android_JNI_GetNativeWindow(void);
    1.15  
    1.16  /* Audio support */
    1.17  extern int Android_JNI_OpenAudioDevice(int sampleRate, int is16Bit, int channelCount, int desiredBufferFrames);
    1.18 -extern void* Android_JNI_GetAudioBuffer();
    1.19 -extern void Android_JNI_WriteAudioBuffer();
    1.20 -extern void Android_JNI_CloseAudioDevice();
    1.21 +extern void* Android_JNI_GetAudioBuffer(void);
    1.22 +extern void Android_JNI_WriteAudioBuffer(void);
    1.23 +extern void Android_JNI_CloseAudioDevice(void);
    1.24  
    1.25  #include "SDL_rwops.h"
    1.26  
    1.27 @@ -59,14 +59,14 @@
    1.28  
    1.29  /* Clipboard support */
    1.30  int Android_JNI_SetClipboardText(const char* text);
    1.31 -char* Android_JNI_GetClipboardText();
    1.32 -SDL_bool Android_JNI_HasClipboardText();
    1.33 +char* Android_JNI_GetClipboardText(void);
    1.34 +SDL_bool Android_JNI_HasClipboardText(void);
    1.35  
    1.36  /* Power support */
    1.37  int Android_JNI_GetPowerInfo(int* plugged, int* charged, int* battery, int* seconds, int* percent);
    1.38      
    1.39  /* Joystick support */
    1.40 -void Android_JNI_PollInputDevices();
    1.41 +void Android_JNI_PollInputDevices(void);
    1.42  
    1.43  /* Video */
    1.44  void Android_JNI_SuspendScreenSaver(SDL_bool suspend);