Fixed compiler warning on iOS
authorSam Lantinga <slouken@libsdl.org>
Mon, 16 Oct 2017 15:22:40 -0700
changeset 11629ec9b9e71f51b
parent 11628 81a4950907a0
child 11630 ad4b5d85edee
Fixed compiler warning on iOS
src/joystick/steam/SDL_steamcontroller.c
src/joystick/steam/SDL_steamcontroller.h
     1.1 --- a/src/joystick/steam/SDL_steamcontroller.c	Mon Oct 16 14:57:42 2017 -0700
     1.2 +++ b/src/joystick/steam/SDL_steamcontroller.c	Mon Oct 16 15:22:40 2017 -0700
     1.3 @@ -37,7 +37,7 @@
     1.4      *nhats = 0;
     1.5  }
     1.6  
     1.7 -void SDL_UpdateSteamControllers()
     1.8 +void SDL_UpdateSteamControllers(void)
     1.9  {
    1.10  }
    1.11  
    1.12 @@ -45,7 +45,7 @@
    1.13  {
    1.14  }
    1.15  
    1.16 -void SDL_QuitSteamControllers()
    1.17 +void SDL_QuitSteamControllers(void)
    1.18  {
    1.19  }
    1.20  
     2.1 --- a/src/joystick/steam/SDL_steamcontroller.h	Mon Oct 16 14:57:42 2017 -0700
     2.2 +++ b/src/joystick/steam/SDL_steamcontroller.h	Mon Oct 16 15:22:40 2017 -0700
     2.3 @@ -26,8 +26,8 @@
     2.4  void SDL_InitSteamControllers(SteamControllerConnectedCallback_t connectedCallback,
     2.5                                SteamControllerDisconnectedCallback_t disconnectedCallback);
     2.6  void SDL_GetSteamControllerInputs(int *nbuttons, int *naxes, int *nhats);
     2.7 -void SDL_UpdateSteamControllers();
     2.8 +void SDL_UpdateSteamControllers(void);
     2.9  void SDL_UpdateSteamController(SDL_Joystick *joystick);
    2.10 -void SDL_QuitSteamControllers();
    2.11 +void SDL_QuitSteamControllers(void);
    2.12  
    2.13  /* vi: set ts=4 sw=4 expandtab: */