SDL: SDL_thread.h: use SDL_ThreadFunction for SDL_CreateThreadWithStackSize (6fa13)

From 6fa135dee22c7f3714aad887e8298c6101733c87 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 19 May 2022 18:55:02 +0300
Subject: [PATCH] SDL_thread.h: use SDL_ThreadFunction for
 SDL_CreateThreadWithStackSize

---
 include/SDL_thread.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/SDL_thread.h b/include/SDL_thread.h
index 35e680ddf43..1e04a4f8f97 100644
--- a/include/SDL_thread.h
+++ b/include/SDL_thread.h
@@ -129,7 +129,7 @@ SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data,
                  pfnSDL_CurrentEndThread pfnEndThread);
 
 extern DECLSPEC SDL_Thread *SDLCALL
-SDL_CreateThreadWithStackSize(int (SDLCALL * fn) (void *),
+SDL_CreateThreadWithStackSize(SDL_ThreadFunction fn,
                  const char *name, const size_t stacksize, void *data,
                  pfnSDL_CurrentBeginThread pfnBeginThread,
                  pfnSDL_CurrentEndThread pfnEndThread);