git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/bnxt: fix null dereference in session cleanup
[dpdk.git]
/
lib
/
vhost
/
rte_vdpa.h
diff --git
a/lib/vhost/rte_vdpa.h
b/lib/vhost/rte_vdpa.h
index
1437f40
..
6ac85d1
100644
(file)
--- 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_ */