fping/fping-4.2-gcc10-extern.patch

13 lines
438 B
Diff
Raw Normal View History

diff -up fping-4.2/src/fping.h.extern fping-4.2/src/fping.h
--- fping-4.2/src/fping.h.extern 2019-02-19 16:00:09.000000000 -0500
+++ fping-4.2/src/fping.h 2020-02-02 00:19:02.613997883 -0500
@@ -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();