From b43f1bfa1c39c8fdcd2b6b141ba6a39b349ffa55 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 8 Dec 2014 19:19:23 -0800 Subject: [PATCH] include/openvswitch/util: Add extern "C" { ... }. Requested-by: Alan Shieh Signed-off-by: Ben Pfaff Acked-by: Thomas Graf --- include/openvswitch/util.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/openvswitch/util.h b/include/openvswitch/util.h index 58c2b5982..b2b20a562 100644 --- a/include/openvswitch/util.h +++ b/include/openvswitch/util.h @@ -19,6 +19,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + void ovs_set_program_name__(const char *name, const char *version, const char *date, const char *time); @@ -28,4 +32,8 @@ void ovs_set_program_name__(const char *name, const char *version, const char *ovs_get_program_name(void); const char *ovs_get_program_version(void); +#ifdef __cplusplus +} +#endif + #endif -- 2.20.1