From 556a85443855ed22b22b75a5cef8bf23d7c071cd Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 16 Oct 2017 15:22:40 -0700 Subject: [PATCH] Fixed compiler warning on iOS --- src/joystick/steam/SDL_steamcontroller.c | 4 ++-- src/joystick/steam/SDL_steamcontroller.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/joystick/steam/SDL_steamcontroller.c b/src/joystick/steam/SDL_steamcontroller.c index e91830a49..800fb46f0 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 30a43cb19..bb0ec2a19 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: */