X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Ftracef.h;h=7e8b59ee3bc5abf3a63b665f36b093dc3733d500;hb=28ed962891cb7d32463aa9e8ced9d37a97eaea22;hp=16a984b664166068759c832055bb699c6c09fb01;hpb=7dae71f2117c236a44bb78b023ad6100021707d8;p=lttng-ust.git 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 */