git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9e6283
)
vconn: Add extern "C" { ... } for C++ header support.
author
Tom Everman
<teverman@google.com>
Wed, 16 Jun 2010 19:47:17 +0000
(12:47 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 16 Jun 2010 19:47:17 +0000
(12:47 -0700)
lib/vconn.h
patch
|
blob
|
history
diff --git
a/lib/vconn.h
b/lib/vconn.h
index
1426c1d
..
a9b0c7e
100644
(file)
--- a/
lib/vconn.h
+++ b/
lib/vconn.h
@@
-24,6
+24,10
@@
#include "flow.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct ofpbuf;
struct ofp_action_header;
struct ofp_header;
@@
-136,4
+140,8
@@
ofp_mkerr(uint16_t type, uint16_t code)
return (type << 16) | code;
}
+#ifdef __cplusplus
+}
+#endif
+
#endif /* vconn.h */