diff options
author | Ben Pfaff <blp@ovn.org> | 2017-07-30 18:03:24 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-07-31 16:03:39 -0700 |
commit | ec30ca5f1cd44101bc5314e002c1b185ba2d1868 (patch) | |
tree | dcfad4a3e3d6fb55570598ee647b9b02a24f6cb6 /include/openvswitch/ofp-prop.h | |
parent | 994bfc298502e6f9178dd231c569a6b305a8299f (diff) | |
download | openvswitch-ec30ca5f1cd44101bc5314e002c1b185ba2d1868.tar.gz |
Add 'extern "C"' for all relevant public header files, plus a build check.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Russell Bryant <russell@ovn.org>
Diffstat (limited to 'include/openvswitch/ofp-prop.h')
-rw-r--r-- | include/openvswitch/ofp-prop.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/openvswitch/ofp-prop.h b/include/openvswitch/ofp-prop.h index 0ba2d359c..e676f8dc0 100644 --- a/include/openvswitch/ofp-prop.h +++ b/include/openvswitch/ofp-prop.h @@ -52,6 +52,10 @@ #include "openvswitch/ofp-errors.h" #include "openvswitch/types.h" +#ifdef __cplusplus +extern "C" { +#endif + struct ofpbuf; struct uuid; struct vlog_module; @@ -135,4 +139,8 @@ enum ofperr ofpprop_unknown(struct vlog_module *, bool loose, const char *msg, #define OFPPROP_UNKNOWN(LOOSE, MSG, TYPE) \ ofpprop_unknown(&this_module, LOOSE, MSG, TYPE) +#ifdef __cplusplus +} +#endif + #endif /* ofp-prop.h */ |