X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-events.h;fp=include%2Flttng%2Fust-events.h;h=ed859cec8915bccf1f76eec745d38dfcff921115;hb=cc2ba9135cafdcfc8cc1354ebed5db7fb5279358;hp=40955e2d385e34f5c6f5b04ff6e1279a9c4bcd90;hpb=cbfb3b3177fb8a33fa818fd9764910c90f4d4307;p=lttng-ust.git diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 40955e2d..ed859cec 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -35,6 +35,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + #define LTTNG_UST_UUID_LEN 16 /* @@ -580,4 +584,8 @@ void lttng_filter_sync_state(struct lttng_bytecode_runtime *runtime); struct cds_list_head *lttng_get_probe_list_head(void); int lttng_session_active(void); +#ifdef __cplusplus +} +#endif + #endif /* _LTTNG_UST_EVENTS_H */