Add extern to *_main global variable declarations in header files.
[vpp.git] / src / vnet / devices / netmap / netmap.h
index 0473189..29f855f 100644 (file)
@@ -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;