From ca7ca2919c560cafcf20fe3718768dff0e02cfa4 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 3 Jun 2019 16:23:14 -0400 Subject: 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. --- src/input_common/sdl/sdl_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input_common') 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() { } } -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) { -- cgit v1.2.3