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
Imported Upstream version 17.05
[deb_dpdk.git]
/
examples
/
performance-thread
/
common
/
arch
/
x86
/
ctx.h
diff --git
a/examples/performance-thread/common/arch/x86/ctx.h
b/examples/performance-thread/common/arch/x86/ctx.h
index
0386050
..
a41ce05
100644
(file)
--- a/
examples/performance-thread/common/arch/x86/ctx.h
+++ b/
examples/performance-thread/common/arch/x86/ctx.h
@@
-35,6
+35,10
@@
#ifndef CTX_H
#define CTX_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* CPU context registers
*/
@@
-54,4
+58,8
@@
void
ctx_switch(struct ctx *new_ctx, struct ctx *curr_ctx);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* RTE_CTX_H_ */