From: Tom Everman Date: Wed, 16 Jun 2010 19:47:17 +0000 (-0700) Subject: vconn: Add extern "C" { ... } for C++ header support. X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=bc434dbe09d1a39689d97b3b1c34d9bf0ab837e7;p=sliver-openvswitch.git vconn: Add extern "C" { ... } for C++ header support. --- diff --git a/lib/vconn.h b/lib/vconn.h index 1426c1d84..a9b0c7e0a 100644 --- 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 */