X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-clock.h;fp=include%2Flttng%2Fust-clock.h;h=06454e479d6d71eb59309de81e01f926011a5d0d;hb=35a1054b28bbbcec639742c2891d157402c5c451;hp=52455a612265e70571da6932ad0474f29df9c45a;hpb=b7f2d48c9eaa00823d644177202a3d8a346778c7;p=deliverable%2Flttng-ust.git diff --git a/include/lttng/ust-clock.h b/include/lttng/ust-clock.h index 52455a61..06454e47 100644 --- a/include/lttng/ust-clock.h +++ b/include/lttng/ust-clock.h @@ -22,6 +22,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 @@ -64,4 +68,8 @@ int lttng_ust_trace_clock_set_description_cb(const char *(*description)(void)); */ int lttng_ust_enable_trace_clock_override(void); +#ifdef __cplusplus +} +#endif + #endif /* LTTNG_UST_CLOCK_H */