X-Git-Url: https://git.lttng.org/?p=lttng-ust.git;a=blobdiff_plain;f=include%2Flttng%2Fust-clock.h;h=a5b7176d4828dd50e43f07c025dc0b24953dc543;hp=d608a933b8b26158351f7fb427903a4f324c9104;hb=81b2d23800224648edd5850dd43b78d00b668a5e;hpb=1f8a8ec9581af89d98aec47de9ad9e25087cd54a diff --git a/include/lttng/ust-clock.h b/include/lttng/ust-clock.h index d608a933..a5b7176d 100644 --- a/include/lttng/ust-clock.h +++ b/include/lttng/ust-clock.h @@ -10,6 +10,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* * Set each callback for the trace clock override, and then enable the * override. Those functions return negative error values on error, 0 on @@ -63,4 +67,8 @@ int lttng_ust_trace_clock_get_description_cb(lttng_ust_clock_description_functio */ int lttng_ust_enable_trace_clock_override(void); +#ifdef __cplusplus +} +#endif + #endif /* LTTNG_UST_CLOCK_H */