Displaying 2 results from an estimated 2 matches for "d15da2200ef8".
2020 Jun 16
0
Fix build error with GCC 10 due to multiple definition of `toplevel'
...at greysector.net>
Link: https://bugs.debian.org/957875
Link: https://bugzilla.redhat.com/show_bug.cgi?id=1800195
Signed-off-by: Salvatore Bonaccorso <carnil at debian.org>
---
tftp/tftp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tftp/tftp.c b/tftp/tftp.c
index d15da2200ef8..d067f9699778 100644
--- a/tftp/tftp.c
+++ b/tftp/tftp.c
@@ -48,7 +48,7 @@ extern int maxtimeout;
#define PKTSIZE SEGSIZE+4
char ackbuf[PKTSIZE];
int timeout;
-sigjmp_buf toplevel;
+extern sigjmp_buf toplevel;
sigjmp_buf timeoutbuf;
static void nak(int, const char *);
--
2.20.1
2020 Sep 29
0
[PATCH RESEND] tftp-hpa: Fix build error with GCC 10 due to multiple definition of `toplevel'
...at greysector.net>
Link: https://bugs.debian.org/957875
Link: https://bugzilla.redhat.com/show_bug.cgi?id=1800195
Signed-off-by: Salvatore Bonaccorso <carnil at debian.org>
---
tftp/tftp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tftp/tftp.c b/tftp/tftp.c
index d15da2200ef8..d067f9699778 100644
--- a/tftp/tftp.c
+++ b/tftp/tftp.c
@@ -48,7 +48,7 @@ extern int maxtimeout;
#define PKTSIZE SEGSIZE+4
char ackbuf[PKTSIZE];
int timeout;
-sigjmp_buf toplevel;
+extern sigjmp_buf toplevel;
sigjmp_buf timeoutbuf;
static void nak(int, const char *);
--
2.20.1