From: Mathieu Desnoyers Date: Tue, 13 May 2014 13:34:03 +0000 (-0400) Subject: Fix: tracef.h: add missing c++ guard X-Git-Tag: v2.5.0-rc1~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=866f2767f671ffbbff2c0511964f5a9a66358184;p=lttng-ust.git Fix: tracef.h: add missing c++ guard Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/tracef.h b/include/lttng/tracef.h index 16a984b6..7e8b59ee 100644 --- a/include/lttng/tracef.h +++ b/include/lttng/tracef.h @@ -25,6 +25,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + extern void _lttng_ust_tracef(const char *fmt, ...); @@ -35,4 +39,8 @@ void _lttng_ust_tracef(const char *fmt, ...); _lttng_ust_tracef(fmt, ## __VA_ARGS__); \ } while (0) +#ifdef __cplusplus +} +#endif + #endif /* _LTTNG_UST_TRACEF_H */