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
/
vpp
/
stats
/
stats.h
diff --git
a/src/vpp/stats/stats.h
b/src/vpp/stats/stats.h
index
042bcb6
..
452e305
100644
(file)
--- a/
src/vpp/stats/stats.h
+++ b/
src/vpp/stats/stats.h
@@
-184,7
+184,7
@@
typedef struct
api_main_t *api_main;
} stats_main_t;
-stats_main_t stats_main;
+
extern
stats_main_t stats_main;
void dslock (stats_main_t * sm, int release_hint, int tag);
void dsunlock (stats_main_t * sm);