From c309546e8c9394858e388ed9170c3e208a4541da Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 6 Jan 2024 08:23:55 -0800
Subject: [PATCH] Fixed warning: no previous prototype for function
'SDL_GetGameControllerTypeFromString' [-Wmissing-prototypes]
---
src/joystick/SDL_gamecontroller.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/joystick/SDL_gamecontroller.c b/src/joystick/SDL_gamecontroller.c
index e6596410f4d6..1722e629f6cf 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;