Fix warnings about static function and prototype

This commit is contained in:
Sylvain authored and Sylvain Becker committed 2023-03-08 11:41:18 +01:00
1 parent 61309b4382
commit 16bb6a0b3d
30 files changed
+137 -142

No files matched your search

+1 -1
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;