Fixed warning: no previous prototype for function 'SDL_PrivateIsGamepadPlatformMatch'
Some checks are pending
Build (All) / Create test plan (push) Waiting to run
Build (All) / level1 (push) Blocked by required conditions
Build (All) / level2 (push) Blocked by required conditions

(cherry picked from commit cd14bf3d00)
This commit is contained in:
Sam Lantinga
2026-02-04 14:40:26 -08:00
parent 2887de55d6
commit 38b9c9117d

View File

@@ -2360,7 +2360,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