]> git.droids-corp.org - dpdk.git/blobdiff - examples/eventdev_pipeline/pipeline_common.h
examples/eventdev: fix build with gcc 10
[dpdk.git] / examples / eventdev_pipeline / pipeline_common.h
index 8e30393d092df2f18e33f0cdcdf7a0f27074ef69..c7245f7f0fe1f73a3bb88bd0adf2ecdfcfe5890c 100644 (file)
@@ -93,8 +93,8 @@ struct port_link {
        uint8_t priority;
 };
 
        uint8_t priority;
 };
 
-struct fastpath_data *fdata;
-struct config_data cdata;
+extern struct fastpath_data *fdata;
+extern struct config_data cdata;
 
 static __rte_always_inline void
 exchange_mac(struct rte_mbuf *m)
 
 static __rte_always_inline void
 exchange_mac(struct rte_mbuf *m)