1From 6f994166d8571961a08479736ae86c5baa2bb47f Mon Sep 17 00:00:00 2001 2From: Thomas Petazzoni <thomas.petazzoni@bootlin.com> 3Date: Fri, 7 Aug 2020 12:07:45 +0200 4Subject: [PATCH] Use "extern" qualifier to fix gcc 10.x build 5 6Patch from 7https://src.fedoraproject.org/rpms/tftp/raw/master/f/tftp-hpa-5.2-gcc10.patch. 8 9Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> 10--- 11 tftp/tftp.c | 2 +- 12 1 file changed, 1 insertion(+), 1 deletion(-) 13 14diff --git a/tftp/tftp.c b/tftp/tftp.c 15index d15da22..d067f96 100644 16--- a/tftp/tftp.c 17+++ b/tftp/tftp.c 18@@ -48,7 +48,7 @@ extern int maxtimeout; 19 #define PKTSIZE SEGSIZE+4 20 char ackbuf[PKTSIZE]; 21 int timeout; 22-sigjmp_buf toplevel; 23+extern sigjmp_buf toplevel; 24 sigjmp_buf timeoutbuf; 25 26 static void nak(int, const char *); 27-- 282.26.2 29 30