mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00: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:
		
							parent
							
								
									b73ea457cc
								
							
						
					
					
						commit
						ca7ca2919c
					
				@ -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) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user