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
eal/linux: fix illegal memory access in uevent handler
[dpdk.git]
/
lib
/
eal
/
include
/
rte_keepalive.h
diff --git
a/lib/eal/include/rte_keepalive.h
b/lib/eal/include/rte_keepalive.h
index
bd25508
..
538fb09
100644
(file)
--- a/
lib/eal/include/rte_keepalive.h
+++ b/
lib/eal/include/rte_keepalive.h
@@
-11,6
+11,10
@@
#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_ */