https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b3d0591e76b1e1ece42a3…
commit b3d0591e76b1e1ece42a3e052f24f8ad3338580e
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Mon Jul 24 22:18:36 2023 +0200
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Mon Jul 24 23:29:38 2023 +0200
[USER32] Use static inline instead of inline
Fixes compilation with less optimizations
---
win32ss/user/user32/windows/input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/win32ss/user/user32/windows/input.c b/win32ss/user/user32/windows/input.c
index 48b18b069da..dc6ddaff5f7 100644
--- a/win32ss/user/user32/windows/input.c
+++ b/win32ss/user/user32/windows/input.c
@@ -704,7 +704,7 @@ LoadKeyboardLayoutA(LPCSTR pszKLID,
return LoadKeyboardLayoutW(wszKLID, Flags);
}
-inline BOOL IsValidKLID(_In_ LPCWSTR pwszKLID)
+static inline BOOL IsValidKLID(_In_ LPCWSTR pwszKLID)
{
return (pwszKLID != NULL) && (wcsspn(pwszKLID,
L"0123456789ABCDEFabcdef") == (KL_NAMELENGTH - 1));
}