bin: compile lttng-sessiond as C++
[lttng-tools.git] / include / lttng / health-internal.h
index ceda0a8dd5b027321c514885ea6d4124e717b710..875cc960b329a015de2af81962a4c4a6fba2563a 100644 (file)
 #include <lttng/health.h>
 #include <common/macros.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * These are the value added to the current state depending of the position in
  * the thread where is either waiting on a poll() or running in the code.
@@ -116,4 +120,8 @@ int health_check_state(struct health_app *ha, int type);
 void health_register(struct health_app *ha, int type);
 void health_unregister(struct health_app *ha);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* HEALTH_INTERNAL_H */
This page took 0.022776 seconds and 4 git commands to generate.