X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-error.h;h=cbcb5ebd161a9dd85acc421c3e7705a9b1989bf8;hb=6453d2377ce8ab5a45bb40c297db5a128f67f56f;hp=05cc3bee65e2dd61a87c3907bda010e444c85680;hpb=35d2bbde7f556976385a17861737d3725ebff7a6;p=lttng-ust.git diff --git a/include/lttng/ust-error.h b/include/lttng/ust-error.h index 05cc3bee..cbcb5ebd 100644 --- a/include/lttng/ust-error.h +++ b/include/lttng/ust-error.h @@ -30,6 +30,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* * ustcomm error code. */ @@ -57,4 +61,8 @@ enum lttng_ust_error_code { */ extern const char *lttng_ust_strerror(int code); +#ifdef __cplusplus +} +#endif + #endif /* _LTTNG_UST_ERROR_H */