mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	spa: libcamera: mark two functions static
				
					
				
			`cameraLoc()` and `cameraModel()` are only used in one translation unit.
This commit is contained in:
		
							parent
							
								
									89d5d51bb3
								
							
						
					
					
						commit
						237174b7f2
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -78,7 +78,7 @@ struct impl {
 | 
			
		|||
	std::shared_ptr<Camera> camera;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
std::string cameraModel(const Camera *camera)
 | 
			
		||||
static std::string cameraModel(const Camera *camera)
 | 
			
		||||
{
 | 
			
		||||
	const ControlList &props = camera->properties();
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -88,7 +88,7 @@ std::string cameraModel(const Camera *camera)
 | 
			
		|||
	return camera->id();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
std::string cameraLoc(const Camera *camera)
 | 
			
		||||
static std::string cameraLoc(const Camera *camera)
 | 
			
		||||
{
 | 
			
		||||
	const ControlList &props = camera->properties();
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue