From aaaa76e8e7a8a81e71b5ee1df1d9d31c37f69a4d Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 29 May 2024 15:37:44 -0700 Subject: [PATCH] tftpd: explicitly declare timer() static Declare the function timer() as static, which is what it ought to be. Signed-off-by: H. Peter Anvin --- tftpd/tftpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tftpd/tftpd.c b/tftpd/tftpd.c index 364e7d2..f6d0565 100644 --- a/tftpd/tftpd.c +++ b/tftpd/tftpd.c @@ -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;