From 581f1ca5c8bac933ceebd315d8b94e5f7a3e0430 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 26 Nov 2022 11:18:24 -0800 Subject: [PATCH] We should only mark functions as inline if necessary for performance --- src/file/SDL_rwops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file/SDL_rwops.c b/src/file/SDL_rwops.c index 6cb090d70a..a95cf7599e 100644 --- a/src/file/SDL_rwops.c +++ b/src/file/SDL_rwops.c @@ -436,7 +436,7 @@ stdio_close(SDL_RWops * context) return status; } -static SDL_INLINE SDL_RWops * +static SDL_RWops * SDL_RWFromFP(void *fp, SDL_bool autoclose) { SDL_RWops *rwops = NULL;