2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-29 15:28:56 +00:00

Add extern "C" to more header files.

From partner.
This commit is contained in:
Jesse Gross
2010-03-05 18:32:40 -05:00
parent 8ff9b354bc
commit f4ade10529
3 changed files with 24 additions and 0 deletions

View File

@@ -19,6 +19,10 @@
#include <stdbool.h>
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
struct svec {
char **names;
@@ -66,5 +70,9 @@ void svec_pop_back(struct svec *);
? (NAME) = (SVEC)->names[INDEX], 1 \
: 0); \
(INDEX)++)
#ifdef __cplusplus
}
#endif
#endif /* svec.h */