Declare node, hw_interface_class and device_class instances as external
[vpp.git] / vnet / vnet / ethernet / ethernet.h
index 21257c5..ea01463 100644 (file)
@@ -96,7 +96,7 @@ typedef struct ethernet_interface {
   u8 address[6];
 } ethernet_interface_t;
 
-vnet_hw_interface_class_t ethernet_hw_interface_class;
+extern vnet_hw_interface_class_t ethernet_hw_interface_class;
 
 typedef struct {
   /* Name (a c string). */