Merge "next" branch into "master".
[sliver-openvswitch.git] / lib / svec.h
index 2a93139..d9bb8a7 100644 (file)
 
 #include <stdbool.h>
 #include <stddef.h>
+#ifdef  __cplusplus
+extern "C" {
+#endif
 
 struct svec {
     char **names;
@@ -67,5 +71,9 @@ void svec_pop_back(struct svec *);
           ? (NAME) = (SVEC)->names[INDEX], 1    \
           : 0);                                 \
          (INDEX)++)
+#ifdef  __cplusplus
+}
+#endif
 
 #endif /* svec.h */