barectf-platform-linux-fs.h: add __cplusplus check
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 9 Nov 2016 17:36:56 +0000 (12:36 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 9 Nov 2016 17:36:56 +0000 (12:36 -0500)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
platforms/linux-fs/barectf-platform-linux-fs.h

index 6ba9837847c4b9d9a6631a50df35c5adc7db944f..f5498e50bac009fcc49e3732890432531570b5d1 100644 (file)
 #include <stdint.h>
 #include <barectf.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct barectf_platform_linux_fs_ctx;
 
 /**
@@ -67,4 +71,8 @@ void barectf_platform_linux_fs_fini(struct barectf_platform_linux_fs_ctx *ctx);
 struct barectf_default_ctx *barectf_platform_linux_fs_get_barectf_ctx(
        struct barectf_platform_linux_fs_ctx *ctx);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _BARECTF_PLATFORM_LINUX_FS_H */
This page took 0.027047 seconds and 4 git commands to generate.