X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Ferror-query-internal.h;h=d3072f54b378a7ae862cccb0e4b15dcb449e4bd9;hb=7966af5763c4aaca39df9bbfa9277ff15715c720;hp=07e2280d7486a283ebab703435f61a03cfd5338f;hpb=ca806b0b247f89c62ac628a7779ae84049a8c2d7;p=lttng-tools.git diff --git a/include/lttng/error-query-internal.h b/include/lttng/error-query-internal.h index 07e2280d7..d3072f54b 100644 --- a/include/lttng/error-query-internal.h +++ b/include/lttng/error-query-internal.h @@ -15,6 +15,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + struct mi_writer; enum lttng_error_query_target_type { @@ -78,4 +82,8 @@ enum lttng_error_code lttng_error_query_results_mi_serialize( const struct lttng_error_query_results *results, struct mi_writer *writer); +#ifdef __cplusplus +} +#endif + #endif /* LTTNG_ERROR_QUERY_INTERNAL_H */