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
/
devices
/
netmap
/
netmap.h
diff --git
a/src/vnet/devices/netmap/netmap.h
b/src/vnet/devices/netmap/netmap.h
index
0473189
..
29f855f
100644
(file)
--- a/
src/vnet/devices/netmap/netmap.h
+++ b/
src/vnet/devices/netmap/netmap.h
@@
-98,7
+98,7
@@
typedef struct
u32 input_cpu_count;
} netmap_main_t;
-netmap_main_t netmap_main;
+
extern
netmap_main_t netmap_main;
extern vnet_device_class_t netmap_device_class;
extern vlib_node_registration_t netmap_input_node;