X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fhealth.h;h=9a7a7fc099f23b29a94ac32af356bc393eab6d7a;hb=6fa5fe7cc78bea0b0bba154a0f911d3df530e18f;hp=996092869465f0a8ea17bfd0396d785d0274b1f5;hpb=6c71277b0dc97ce8a4ac6b8d359b4b349c04b658;p=lttng-tools.git diff --git a/include/lttng/health.h b/include/lttng/health.h index 996092869..9a7a7fc09 100644 --- a/include/lttng/health.h +++ b/include/lttng/health.h @@ -19,6 +19,10 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef __cplusplus +extern "C" { +#endif + struct lttng_health; struct lttng_health_thread; @@ -124,4 +128,8 @@ int lttng_health_thread_state(const struct lttng_health_thread *thread); */ const char *lttng_health_thread_name(const struct lttng_health_thread *thread); +#ifdef __cplusplus +} +#endif + #endif /* LTTNG_HEALTH_H */