diff --git a/src/joystick/SDL_gamecontroller.c b/src/joystick/SDL_gamecontroller.c index e6596410f4..1722e629f6 100644 --- a/src/joystick/SDL_gamecontroller.c +++ b/src/joystick/SDL_gamecontroller.c @@ -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;