Add -fno-common compile option
[vpp.git] / src / vnet / devices / virtio / vhost_user_output.c
index 4fbd63e..c0c54d1 100644 (file)
@@ -53,7 +53,7 @@
  */
 #define VHOST_USER_TX_COPY_THRESHOLD (VHOST_USER_COPY_ARRAY_N - 40)
 
-vnet_device_class_t vhost_user_device_class;
+extern vnet_device_class_t vhost_user_device_class;
 
 #define foreach_vhost_user_tx_func_error      \
   _(NONE, "no error")  \