From cd14bf3d00c38daafe0ccbf53b1e906aa96970bb Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 4 Feb 2026 14:40:26 -0800 Subject: [PATCH] Fixed warning: no previous prototype for function 'SDL_PrivateIsGamepadPlatformMatch' --- src/joystick/SDL_gamepad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joystick/SDL_gamepad.c b/src/joystick/SDL_gamepad.c index 95c9e0fc49..9041f7112c 100644 --- a/src/joystick/SDL_gamepad.c +++ b/src/joystick/SDL_gamepad.c @@ -2362,7 +2362,7 @@ static GamepadMapping_t *SDL_PrivateGetGamepadMapping(SDL_JoystickID instance_id return mapping; } -bool SDL_PrivateIsGamepadPlatformMatch(const char *platform, size_t platform_len) +static bool SDL_PrivateIsGamepadPlatformMatch(const char *platform, size_t platform_len) { #ifdef SDL_PLATFORM_MACOS // We also accept the older SDL2 platform name for macOS