mirror of
https://kernel.googlesource.com/pub/scm/network/tftp/tftp-hpa
synced 2025-04-26 01:49:52 +03:00
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 */
|
||||
void timer(int sig)
|
||||
static void timer(int sig)
|
||||
{
|
||||
(void)sig; /* Suppress unused warning */
|
||||
timeout <<= 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue