Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Note reproducibility and new patches in changelog
[deb_dpdk.git]
/
examples
/
performance-thread
/
common
/
lthread_diag.h
diff --git
a/examples/performance-thread/common/lthread_diag.h
b/examples/performance-thread/common/lthread_diag.h
index
2877d31
..
3dce8e0
100644
(file)
--- a/
examples/performance-thread/common/lthread_diag.h
+++ b/
examples/performance-thread/common/lthread_diag.h
@@
-34,6
+34,10
@@
#ifndef LTHREAD_DIAG_H_
#define LTHREAD_DIAG_H_
#ifndef LTHREAD_DIAG_H_
#define LTHREAD_DIAG_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stdint.h>
#include <inttypes.h>
#include <stdint.h>
#include <inttypes.h>
@@
-129,4
+133,9
@@
extern uint64_t diag_mask;
#define DIAG_USED __rte_unused
#endif /* LTHREAD_DIAG */
#define DIAG_USED __rte_unused
#endif /* LTHREAD_DIAG */
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LTHREAD_DIAG_H_ */
#endif /* LTHREAD_DIAG_H_ */