X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fsset.h;h=a739fce00c75357e9f8d4563cac42c4698fb04a2;hb=3bffc610fa3ae08fa837f6bd0bf7a2deebdd0970;hp=88100673ff0aa25934a966c502b5907639ff69d1;hpb=f391294fde05ecae7c9a1ff8752f872a1db94f3a;p=sliver-openvswitch.git diff --git a/lib/sset.h b/lib/sset.h index 88100673f..a739fce00 100644 --- a/lib/sset.h +++ b/lib/sset.h @@ -19,6 +19,10 @@ #include "hmap.h" +#ifdef __cplusplus +extern "C" { +#endif + struct sset_node { struct hmap_node hmap_node; char name[1]; @@ -85,4 +89,8 @@ bool sset_equals(const struct sset *, const struct sset *); SSET_NAME_FROM_HMAP_NODE( \ hmap_next(&(SSET)->map, &SSET_NODE_FROM_NAME(NAME)->hmap_node)) +#ifdef __cplusplus +} +#endif + #endif /* sset.h */