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:
H. Peter Anvin 2024-05-29 15:37:44 -07:00
parent 1f4b33a1f7
commit aaaa76e8e7

View file

@ -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;