tests: Mark tftpd timer function as noreturn
This avoids the below compiler warning:
tftpd.c:280:1: warning: function 'timer' could be declared with
attribute 'noreturn' [-Wmissing-noreturn]
Closes: #13534
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
This commit is contained in:
parent
d19fc8ea33
commit
96852a130a
@ -276,6 +276,9 @@ static void mysignal(int sig, void (*handler)(int))
|
||||
sigaction(sig, &sa, NULL);
|
||||
}
|
||||
|
||||
#ifdef HAVE_SIGSETJMP
|
||||
CURL_NORETURN
|
||||
#endif
|
||||
static void timer(int signum)
|
||||
{
|
||||
(void)signum;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user