Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add extern to *_main global variable declarations in header files.
[vpp.git]
/
src
/
vnet
/
vxlan-gpe
/
vxlan_gpe.h
diff --git
a/src/vnet/vxlan-gpe/vxlan_gpe.h
b/src/vnet/vxlan-gpe/vxlan_gpe.h
index
c348b5d
..
053bcbe
100644
(file)
--- a/
src/vnet/vxlan-gpe/vxlan_gpe.h
+++ b/
src/vnet/vxlan-gpe/vxlan_gpe.h
@@
-209,7
+209,7
@@
typedef struct {
uword decap_next_node_list[VXLAN_GPE_PROTOCOL_MAX];
} vxlan_gpe_main_t;
uword decap_next_node_list[VXLAN_GPE_PROTOCOL_MAX];
} vxlan_gpe_main_t;
-vxlan_gpe_main_t vxlan_gpe_main;
+
extern
vxlan_gpe_main_t vxlan_gpe_main;
extern vlib_node_registration_t vxlan_gpe_encap_node;
extern vlib_node_registration_t vxlan4_gpe_input_node;
extern vlib_node_registration_t vxlan_gpe_encap_node;
extern vlib_node_registration_t vxlan4_gpe_input_node;