Merge commit 'b6f1c91862ae5b260f80cca2968cd9baefe41523' into main
diff --git a/src/thread/SDL_thread.c b/src/thread/SDL_thread.c
index 1a60cb0..6561033 100644
--- a/src/thread/SDL_thread.c
+++ b/src/thread/SDL_thread.c
@@ -211,7 +211,7 @@ SDL_GetStaticErrBuf()
return &SDL_global_error;
}
-static void
+static void SDLCALL
SDL_FreeErrBuf(void *data)
{
SDL_error *errbuf = (SDL_error *)data;