Fixed warning: no previous prototype for function 'SDL_GetGameControllerTypeFromString' [-Wmissing-prototypes]

This commit is contained in:
Sam Lantinga 2024-01-06 08:23:55 -08:00
parent 0e913a22db
commit c309546e8c

View file

@ -823,7 +823,7 @@ SDL_COMPILE_TIME_ASSERT(map_StringForGameControllerType, SDL_arraysize(map_Strin
/*
* convert a string to its enum equivalent
*/
SDL_GameControllerType SDL_GetGameControllerTypeFromString(const char *str)
static SDL_GameControllerType SDL_GetGameControllerTypeFromString(const char *str)
{
int i;