diff options
author | Lioncash <mathew1800@gmail.com> | 2019-06-03 16:23:14 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-06-03 16:56:47 -0400 |
commit | ca7ca2919c560cafcf20fe3718768dff0e02cfa4 (patch) | |
tree | e84323be3e3ffef28dcb916aa128c7c0d2a5a137 | |
parent | b73ea457cc9870b7846982a4d8633b368fe02e9a (diff) |
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.
-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 c5589eb73c..3b5a4a8fcb 100644 --- a/src/input_common/sdl/sdl_impl.cpp +++ b/src/input_common/sdl/sdl_impl.cpp @@ -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) { |