aboutsummaryrefslogtreecommitdiff
path: root/net/hping3/patches/191_fix_ftbfs_with_gcc10.patch
blob: 49b6d4ac0237edf1f7c1f7d43a9e0259f8a10b2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fixes declaration of global variable
Author: Marcio de Souza Oliveira <marciosouza@debian.org>
Last-Update: 2020-09-02
--- a/hping2.h
+++ b/hping2.h
@@ -357,7 +357,7 @@ struct delaytable_element {
 	int status;
 };
 
-volatile struct delaytable_element delaytable[TABLESIZE];
+extern volatile struct delaytable_element delaytable[TABLESIZE];
 
 /* protos */
 void	nop(void);				/* nop */