fping/fping-4.2-gcc10-extern.patch

14 lines
401 B
Diff

Index: fping-4.2/src/fping.h
===================================================================
--- fping-4.2.orig/src/fping.h
+++ fping-4.2/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();