mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	scanner: use printf format attributes for desc_dump
This commit is contained in:
		
							parent
							
								
									f36c61571f
								
							
						
					
					
						commit
						0d77c5302e
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -157,6 +157,9 @@ static const char *indent(int n)
 | 
			
		|||
	return whitespace[n % 8] + 12 - n / 8;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void
 | 
			
		||||
desc_dump(char *desc, const char *fmt, ...) __attribute__((format(printf,2,3)));
 | 
			
		||||
 | 
			
		||||
static void
 | 
			
		||||
desc_dump(char *desc, const char *fmt, ...)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue