]> git.gsnw.org Git - fping.git/commitdiff
GCC 10 compatibility: use extern in header files when declaring global variables
authorCharles R. Anderson <cra@wpi.edu>
Sun, 2 Feb 2020 05:42:37 +0000 (00:42 -0500)
committerCharles R. Anderson <cra@wpi.edu>
Sun, 2 Feb 2020 05:42:37 +0000 (00:42 -0500)
src/fping.h

index 44be99959910122c5f4d355adb7f4c130d207786..232e7eab0be52c9b8a1bd93e948d62d48bf173d6 100644 (file)
@@ -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();