Fixed compiler warning on iOS

This commit is contained in:
Sam Lantinga 2017-10-16 15:22:40 -07:00
parent e4ef1885d9
commit 556a854438
2 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ void SDL_GetSteamControllerInputs(int *nbuttons, int *naxes, int *nhats)
*nhats = 0; *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)
{ {
} }

View File

@ -26,8 +26,8 @@ typedef void (*SteamControllerDisconnectedCallback_t)(int device_instance);
void SDL_InitSteamControllers(SteamControllerConnectedCallback_t connectedCallback, void SDL_InitSteamControllers(SteamControllerConnectedCallback_t connectedCallback,
SteamControllerDisconnectedCallback_t disconnectedCallback); SteamControllerDisconnectedCallback_t disconnectedCallback);
void SDL_GetSteamControllerInputs(int *nbuttons, int *naxes, int *nhats); void SDL_GetSteamControllerInputs(int *nbuttons, int *naxes, int *nhats);
void SDL_UpdateSteamControllers(); void SDL_UpdateSteamControllers(void);
void SDL_UpdateSteamController(SDL_Joystick *joystick); void SDL_UpdateSteamController(SDL_Joystick *joystick);
void SDL_QuitSteamControllers(); void SDL_QuitSteamControllers(void);
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */