X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Fust-clock.h;h=a5b7176d4828dd50e43f07c025dc0b24953dc543;hb=7075c5a2f8f4f90a018d7d1ea8c6dadda609495d;hp=d608a933b8b26158351f7fb427903a4f324c9104;hpb=33b563d60bb08300f2879a7c67f5f6483ccf3943;p=lttng-ust.git 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 */