From: Philippe Proulx Date: Wed, 9 Nov 2016 17:36:56 +0000 (-0500) Subject: barectf-platform-linux-fs.h: add __cplusplus check X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a40451d2335a63c450d98917b4ffd23fd0bc011c;p=deliverable%2Fbarectf.git barectf-platform-linux-fs.h: add __cplusplus check Signed-off-by: Philippe Proulx --- diff --git a/platforms/linux-fs/barectf-platform-linux-fs.h b/platforms/linux-fs/barectf-platform-linux-fs.h index 6ba9837..f5498e5 100644 --- a/platforms/linux-fs/barectf-platform-linux-fs.h +++ b/platforms/linux-fs/barectf-platform-linux-fs.h @@ -29,6 +29,10 @@ #include #include +#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 */