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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user