Add extern to *_main global variable declarations in header files.
[vpp.git] / src / vnet / policer / policer.h
index 8e2d7c7..b7c1d61 100644 (file)
@@ -44,7 +44,7 @@ typedef struct
   vnet_main_t *vnet_main;
 } vnet_policer_main_t;
 
-vnet_policer_main_t vnet_policer_main;
+extern vnet_policer_main_t vnet_policer_main;
 
 typedef enum
 {