examples/fips_validation: support self-test only
[dpdk.git] / lib / librte_rib / rte_rib.h
index a9bb42f..f80752e 100644 (file)
 
 #include <rte_compat.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * rte_rib_get_nxt() flags
  */
@@ -282,4 +286,8 @@ __rte_experimental
 void
 rte_rib_free(struct rte_rib *rib);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _RTE_RIB_H_ */