forked from mirrors/tftp-hpa-google
		
	tftpd: explicitly declare timer() static
Declare the function timer() as static, which is what it ought to be. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
		
							parent
							
								
									1f4b33a1f7
								
							
						
					
					
						commit
						aaaa76e8e7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -152,7 +152,7 @@ static void handle_exit(int sig)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Handle timeout signal or timeout event */
 | 
					/* Handle timeout signal or timeout event */
 | 
				
			||||||
void timer(int sig)
 | 
					static void timer(int sig)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    (void)sig;                  /* Suppress unused warning */
 | 
					    (void)sig;                  /* Suppress unused warning */
 | 
				
			||||||
    timeout <<= 1;
 | 
					    timeout <<= 1;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue