]> git.droids-corp.org - dpdk.git/blobdiff - lib/eal/include/rte_keepalive.h
eal: emit warning for unused trylock return value
[dpdk.git] / lib / eal / include / rte_keepalive.h
index bd25508da8d2944b265a3e3ee56ba0860cc698fa..538fb09095ca676c9e003dae34921024ae849f53 100644 (file)
 #ifndef _KEEPALIVE_H_
 #define _KEEPALIVE_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <rte_config.h>
 #include <rte_memory.h>
 
@@ -139,4 +143,8 @@ rte_keepalive_register_relay_callback(struct rte_keepalive *keepcfg,
        rte_keepalive_relay_callback_t callback,
        void *data);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _KEEPALIVE_H_ */