Fix: add extern "C" to two header files
[lttng-ust.git] / include / lttng / ust-clock.h
index d608a933b8b26158351f7fb427903a4f324c9104..a5b7176d4828dd50e43f07c025dc0b24953dc543 100644 (file)
 #include <stdint.h>
 #include <stddef.h>
 
+#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 */
This page took 0.023226 seconds and 4 git commands to generate.