mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-17 12:48:09 +01:00
input_common/sdl/sdl_impl: Mark SDLEventToButtonParamPackage() as static
Its prototype declared at the top of the translation unit contains the static qualifier, so the function itself should also contain it to make it a proper internally linked function.
This commit is contained in:
1 parent
f0a45d70a8
commit
5b89bf78b8
1 file changed
+1
-1
@@ -510,7 +510,7 @@ SDLState::~SDLState() {
|
||||
}
|
||||
}
|
||||
|
||||
Common::ParamPackage SDLEventToButtonParamPackage(SDLState& state, const SDL_Event& event) {
|
||||
static Common::ParamPackage SDLEventToButtonParamPackage(SDLState& state, const SDL_Event& event) {
|
||||
Common::ParamPackage params({{"engine", "sdl"}});
|
||||
|
||||
switch (event.type) {
|
||||
|
||||
Reference in new issue
Block a user