summaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2019-06-03 16:23:14 -0400
committerGravatar Lioncash2019-06-03 16:56:47 -0400
commitca7ca2919c560cafcf20fe3718768dff0e02cfa4 (patch)
treee84323be3e3ffef28dcb916aa128c7c0d2a5a137 /src/input_common/sdl/sdl_impl.cpp
parentinput_common/sdl/sdl_impl: Convert reinterpret_cast into a static_cast (diff)
downloadyuzu-ca7ca2919c560cafcf20fe3718768dff0e02cfa4.tar.gz
yuzu-ca7ca2919c560cafcf20fe3718768dff0e02cfa4.tar.xz
yuzu-ca7ca2919c560cafcf20fe3718768dff0e02cfa4.zip
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.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.cpp')
-rw-r--r--src/input_common/sdl/sdl_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/sdl/sdl_impl.cpp b/src/input_common/sdl/sdl_impl.cpp
index c5589eb73..3b5a4a8fc 100644
--- a/src/input_common/sdl/sdl_impl.cpp
+++ b/src/input_common/sdl/sdl_impl.cpp
@@ -510,7 +510,7 @@ SDLState::~SDLState() {
510 } 510 }
511} 511}
512 512
513Common::ParamPackage SDLEventToButtonParamPackage(SDLState& state, const SDL_Event& event) { 513static Common::ParamPackage SDLEventToButtonParamPackage(SDLState& state, const SDL_Event& event) {
514 Common::ParamPackage params({{"engine", "sdl"}}); 514 Common::ParamPackage params({{"engine", "sdl"}});
515 515
516 switch (event.type) { 516 switch (event.type) {