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
/
cdp
/
cdp_node.h
diff --git
a/src/vnet/cdp/cdp_node.h
b/src/vnet/cdp/cdp_node.h
index
7028ddc
..
21086c0
100644
(file)
--- a/
src/vnet/cdp/cdp_node.h
+++ b/
src/vnet/cdp/cdp_node.h
@@
-95,7
+95,7
@@
typedef struct
vnet_main_t *vnet_main;
} cdp_main_t;
-cdp_main_t cdp_main;
+
extern
cdp_main_t cdp_main;
/* Packet counters */
#define foreach_cdp_error \