From: Charles R. Anderson Date: Sun, 2 Feb 2020 05:42:37 +0000 (-0500) Subject: GCC 10 compatibility: use extern in header files when declaring global variables X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ed73181eb54e3f2dc744271c0329620972a85ab;p=fping.git GCC 10 compatibility: use extern in header files when declaring global variables --- diff --git a/src/fping.h b/src/fping.h index 44be999..232e7ea 100644 --- a/src/fping.h +++ b/src/fping.h @@ -11,7 +11,7 @@ void crash_and_burn( char *message ); void errno_crash_and_burn( char *message ); int in_cksum( unsigned short *p, int n ); -int random_data_flag; +extern int random_data_flag; /* socket.c */ int open_ping_socket_ipv4();