These are needed to build some lttng-tools binary as C++ programs.
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Iba97d9cc52f86fd01cc24111c53a85340595e4c4
#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
*/
int lttng_ust_enable_trace_clock_override(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LTTNG_UST_CLOCK_H */
#include <lttng/ust-utils.h>
#include <lttng/ust-sigbus.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef LTTNG_UST_UUID_LEN
#define LTTNG_UST_UUID_LEN 16
#endif
void lttng_ust_ctl_sigbus_handle(void *addr);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _LTTNG_UST_CTL_H */