X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer-timer.h;fp=src%2Fcommon%2Fconsumer%2Fconsumer-timer.h;h=084eb017d522e4d94f6fdf4967cb5481eb2627ef;hp=85751442f7751eb0b2467c292290004f1fe87216;hb=657d1bf105996bf8f6e13af697fb1112afa61b28;hpb=aa4e4813f3410c866cf8dbc42f6eaa038d704a22 diff --git a/src/common/consumer/consumer-timer.h b/src/common/consumer/consumer-timer.h index 85751442f..084eb017d 100644 --- a/src/common/consumer/consumer-timer.h +++ b/src/common/consumer/consumer-timer.h @@ -14,6 +14,10 @@ #include "consumer.h" +#ifdef __cplusplus +extern "C" { +#endif + #define LTTNG_CONSUMER_SIG_SWITCH SIGRTMIN + 10 #define LTTNG_CONSUMER_SIG_TEARDOWN SIGRTMIN + 11 #define LTTNG_CONSUMER_SIG_LIVE SIGRTMIN + 12 @@ -53,4 +57,8 @@ int consumer_flush_ust_index(struct lttng_consumer_stream *stream); int consumer_timer_thread_get_channel_monitor_pipe(void); int consumer_timer_thread_set_channel_monitor_pipe(int fd); +#ifdef __cplusplus +} +#endif + #endif /* CONSUMER_TIMER_H */