Add extern to *_main global variable declarations in header files.
[vpp.git] / src / plugins / dpdk / device / dpdk.h
index 9762c71..a0c57ea 100644 (file)
@@ -332,7 +332,7 @@ typedef struct
 
 } dpdk_config_main_t;
 
-dpdk_config_main_t dpdk_config_main;
+extern dpdk_config_main_t dpdk_config_main;
 
 typedef struct
 {