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
1 changed files with 1 additions and 1 deletions

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;