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
/
cop
/
cop.h
diff --git
a/src/vnet/cop/cop.h
b/src/vnet/cop/cop.h
index
eb5f1df
..
ee848ce
100644
(file)
--- a/
src/vnet/cop/cop.h
+++ b/
src/vnet/cop/cop.h
@@
-70,7
+70,7
@@
typedef struct {
vnet_main_t * vnet_main;
} cop_main_t;
vnet_main_t * vnet_main;
} cop_main_t;
-cop_main_t cop_main;
+
extern
cop_main_t cop_main;
extern vlib_node_registration_t cop_input_node;
extern vlib_node_registration_t cop_input_node;