diff options
| author | 2019-06-03 16:23:14 -0400 | |
|---|---|---|
| committer | 2019-06-03 16:56:47 -0400 | |
| commit | ca7ca2919c560cafcf20fe3718768dff0e02cfa4 (patch) | |
| tree | e84323be3e3ffef28dcb916aa128c7c0d2a5a137 /src/input_common/sdl/sdl_impl.cpp | |
| parent | input_common/sdl/sdl_impl: Convert reinterpret_cast into a static_cast (diff) | |
| download | yuzu-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.cpp | 2 |
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 | ||
| 513 | Common::ParamPackage SDLEventToButtonParamPackage(SDLState& state, const SDL_Event& event) { | 513 | static 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) { |