qemu-timer: Add missing 'static' attribute
This fixes a warning from the static code analysis (smatch). Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
		
							parent
							
								
									6075137d94
								
							
						
					
					
						commit
						fbdb664cb6
					
				@ -56,7 +56,7 @@ typedef struct QEMUClock {
 | 
				
			|||||||
} QEMUClock;
 | 
					} QEMUClock;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
QEMUTimerListGroup main_loop_tlg;
 | 
					QEMUTimerListGroup main_loop_tlg;
 | 
				
			||||||
QEMUClock qemu_clocks[QEMU_CLOCK_MAX];
 | 
					static QEMUClock qemu_clocks[QEMU_CLOCK_MAX];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* A QEMUTimerList is a list of timers attached to a clock. More
 | 
					/* A QEMUTimerList is a list of timers attached to a clock. More
 | 
				
			||||||
 * than one QEMUTimerList can be attached to each clock, for instance
 | 
					 * than one QEMUTimerList can be attached to each clock, for instance
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user