X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fhealth-internal.h;fp=include%2Flttng%2Fhealth-internal.h;h=875cc960b329a015de2af81962a4c4a6fba2563a;hp=ceda0a8dd5b027321c514885ea6d4124e717b710;hb=7966af5763c4aaca39df9bbfa9277ff15715c720;hpb=3a5f70173aa04d11ccb22694d5d31a702cad33ab diff --git a/include/lttng/health-internal.h b/include/lttng/health-internal.h index ceda0a8dd..875cc960b 100644 --- a/include/lttng/health-internal.h +++ b/include/lttng/health-internal.h @@ -17,6 +17,10 @@ #include #include +#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 */