Skip to content

Commit

Permalink
Merge pull request #167 from cranderson/gcc10
Browse files Browse the repository at this point in the history
use extern in header files when declaring global variables
  • Loading branch information
schweikert authored Feb 23, 2020
2 parents c1967a2 + 0ed7318 commit bc5017b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fping.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit bc5017b

Please sign in to comment.