X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fvhost%2Frte_vdpa.h;h=6ac85d1bbfd8d24f9990c882712c55503e1dcd98;hb=a2dfcd1ff609f5a4fd3b65774618a35c5c9f73c6;hp=1437f400bf8d175ffb4b7097b425893f36ffb536;hpb=99a2dd955fba6e4cc23b77d590a033650ced9c45;p=dpdk.git diff --git a/lib/vhost/rte_vdpa.h b/lib/vhost/rte_vdpa.h index 1437f400bf..6ac85d1bbf 100644 --- a/lib/vhost/rte_vdpa.h +++ b/lib/vhost/rte_vdpa.h @@ -5,6 +5,10 @@ #ifndef _RTE_VDPA_H_ #define _RTE_VDPA_H_ +#ifdef __cplusplus +extern "C" { +#endif + /** * @file * @@ -183,4 +187,9 @@ rte_vdpa_get_stats(struct rte_vdpa_device *dev, uint16_t qid, */ int rte_vdpa_reset_stats(struct rte_vdpa_device *dev, uint16_t qid); + +#ifdef __cplusplus +} +#endif + #endif /* _RTE_VDPA_H_ */