aboutsummaryrefslogtreecommitdiff
path: root/net/bfdd/patches/020-gcc10.patch
blob: 9c6445a741950b8cdb30bdb262e4d4e1fa483bd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/bfd.h
+++ b/bfd.h
@@ -299,13 +299,13 @@ typedef struct bfd_state_str_list_s {
 	int type;
 } bfd_state_str_list;
 
-struct bfd_vrf {
+extern struct bfd_vrf {
 	int vrf_id;
 	char name[MAXNAMELEN + 1];
 	UT_hash_handle vh;
 } bfd_vrf;
 
-struct bfd_iface {
+extern struct bfd_iface {
 	int vrf_id;
 	char ifname[MAXNAMELEN + 1];
 	UT_hash_handle ifh;