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
e04f045
..
29f855f
100644
(file)
--- a/
src/vnet/devices/netmap/netmap.h
+++ b/
src/vnet/devices/netmap/netmap.h
@@
-50,7
+50,7
@@
typedef struct
uword if_index;
u32 hw_if_index;
u32 sw_if_index;
uword if_index;
u32 hw_if_index;
u32 sw_if_index;
- u32
unix
_file_index;
+ u32
clib
_file_index;
u32 per_interface_next_index;
u8 is_admin_up;
u32 per_interface_next_index;
u8 is_admin_up;
@@
-98,7
+98,7
@@
typedef struct
u32 input_cpu_count;
} netmap_main_t;
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;
extern vnet_device_class_t netmap_device_class;
extern vlib_node_registration_t netmap_input_node;