Commit 556a85443855ed22b22b75a5cef8bf23d7c071cd

Sam Lantinga 2017-10-16T15:22:40

Fixed compiler warning on iOS

diff --git a/src/joystick/steam/SDL_steamcontroller.c b/src/joystick/steam/SDL_steamcontroller.c
index e91830a..800fb46 100644
--- a/src/joystick/steam/SDL_steamcontroller.c
+++ b/src/joystick/steam/SDL_steamcontroller.c
@@ -37,7 +37,7 @@ void SDL_GetSteamControllerInputs(int *nbuttons, int *naxes, int *nhats)
     *nhats = 0;
 }
 
-void SDL_UpdateSteamControllers()
+void SDL_UpdateSteamControllers(void)
 {
 }
 
@@ -45,7 +45,7 @@ void SDL_UpdateSteamController(SDL_Joystick *joystick)
 {
 }
 
-void SDL_QuitSteamControllers()
+void SDL_QuitSteamControllers(void)
 {
 }
 
diff --git a/src/joystick/steam/SDL_steamcontroller.h b/src/joystick/steam/SDL_steamcontroller.h
index 30a43cb..bb0ec2a 100644
--- a/src/joystick/steam/SDL_steamcontroller.h
+++ b/src/joystick/steam/SDL_steamcontroller.h
@@ -26,8 +26,8 @@ typedef void (*SteamControllerDisconnectedCallback_t)(int device_instance);
 void SDL_InitSteamControllers(SteamControllerConnectedCallback_t connectedCallback,
                               SteamControllerDisconnectedCallback_t disconnectedCallback);
 void SDL_GetSteamControllerInputs(int *nbuttons, int *naxes, int *nhats);
-void SDL_UpdateSteamControllers();
+void SDL_UpdateSteamControllers(void);
 void SDL_UpdateSteamController(SDL_Joystick *joystick);
-void SDL_QuitSteamControllers();
+void SDL_QuitSteamControllers(void);
 
 /* vi: set ts=4 sw=4 expandtab: */