Description: Fix FTBFS with GCC-10. Author: Luis Paulo Linares Bug-Debian: https://bugs.debian.org/957860 Last-Update: 2020-08-17 --- a/src/conn.h +++ b/src/conn.h @@ -80,5 +80,5 @@ }; -struct ip * ip_last_header; /* FIXME: check */ -struct tcphdr * tcp_last_header; +extern struct ip * ip_last_header; /* FIXME: check */ +extern struct tcphdr * tcp_last_header; --- a/src/globals.h +++ b/src/globals.h @@ -39,7 +39,7 @@ int ip_size = 0; int tcp_size = 0; -struct CONN * first_conn; -struct CONN * last_conn; +extern struct CONN * first_conn; +extern struct CONN * last_conn; enum EXPIRED_FLAG expired_flag;