Fix warnings about static function and prototype

This commit is contained in:
Sylvain
2023-03-08 11:40:07 +01:00
committed by Sylvain Becker
parent 61309b4382
commit 16bb6a0b3d
30 changed files with 137 additions and 142 deletions

View File

@@ -705,7 +705,7 @@ WatchJoystick(SDL_Joystick *joystick)
SDL_DestroyRenderer(screen);
}
static SDL_bool HasJoysticks()
static SDL_bool HasJoysticks(void)
{
int num_joysticks = 0;
SDL_JoystickID *joysticks;