Fixes:
279b581c897d ("vfio: expose functions")
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
#define VFIO_NOIOMMU_MODE \
"/sys/module/vfio/parameters/enable_unsafe_noiommu_mode"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Setup vfio_cfg for the device identified by its address.
* It discovers the configured I/O MMU groups or sets a new one for the device.
int
rte_vfio_clear_group(int vfio_group_fd);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* VFIO_PRESENT */
#endif /* _RTE_VFIO_H_ */