X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fust-consumer%2Fust-consumer.h;fp=src%2Fcommon%2Fust-consumer%2Fust-consumer.h;h=29ae853daa54d90fb8f2a008f0a84aeda94aeb64;hp=e2507a7f441da932809adb3220e22bb803e9ec32;hb=97535efaa975ca52bf02c2d5e76351bfd2e3defa;hpb=7fe0498a9173fca00dcd45a41847e629b70cd941 diff --git a/src/common/ust-consumer/ust-consumer.h b/src/common/ust-consumer/ust-consumer.h index e2507a7f4..29ae853da 100644 --- a/src/common/ust-consumer/ust-consumer.h +++ b/src/common/ust-consumer/ust-consumer.h @@ -13,6 +13,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + #ifdef HAVE_LIBLTTNG_UST_CTL int lttng_ustconsumer_take_snapshot(struct lttng_consumer_stream *stream); @@ -240,4 +244,8 @@ void lttng_ustconsumer_sigbus_handle(void *addr) } #endif /* HAVE_LIBLTTNG_UST_CTL */ +#ifdef __cplusplus +} +#endif + #endif /* _LTTNG_USTCONSUMER_H */