Fix: add extern "C" to two header files
[lttng-ust.git] / include / lttng / ust-clock.h
index 52455a612265e70571da6932ad0474f29df9c45a..06454e479d6d71eb59309de81e01f926011a5d0d 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
@@ -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 */
This page took 0.025151 seconds and 5 git commands to generate.