X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Findex-allocator.h;h=9dbd745e6bdaf52ef1ccebae2dffd7c3b1308e82;hp=3da733e9ef03db82c4f08a33345de07dbef0df8a;hb=7966af5763c4aaca39df9bbfa9277ff15715c720;hpb=3a5f70173aa04d11ccb22694d5d31a702cad33ab diff --git a/src/common/index-allocator.h b/src/common/index-allocator.h index 3da733e9e..9dbd745e6 100644 --- a/src/common/index-allocator.h +++ b/src/common/index-allocator.h @@ -10,6 +10,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + struct lttng_index_allocator; enum lttng_index_allocator_status { @@ -49,4 +53,8 @@ enum lttng_index_allocator_status lttng_index_allocator_release( */ void lttng_index_allocator_destroy(struct lttng_index_allocator *allocator); +#ifdef __cplusplus +} +#endif + #endif /* _COMMON_INDEX_ALLOCATOR_H */