X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-ctl.h;fp=include%2Flttng%2Fust-ctl.h;h=d9eba3ef3bffac24928f8e233c9baa76fb68dd2a;hb=35a1054b28bbbcec639742c2891d157402c5c451;hp=932940babf393304964e039a0cc5256aa50d96c5;hpb=b7f2d48c9eaa00823d644177202a3d8a346778c7;p=deliverable%2Flttng-ust.git diff --git a/include/lttng/ust-ctl.h b/include/lttng/ust-ctl.h index 932940ba..d9eba3ef 100644 --- a/include/lttng/ust-ctl.h +++ b/include/lttng/ust-ctl.h @@ -27,6 +27,10 @@ #error "LTTNG_PACKED should be defined" #endif +#ifdef __cplusplus +extern "C" { +#endif + #ifndef LTTNG_UST_UUID_LEN #define LTTNG_UST_UUID_LEN 16 #endif @@ -518,4 +522,8 @@ int ustctl_reply_register_channel(int sock, enum ustctl_channel_header header_type, int ret_code); /* return code. 0 ok, negative error */ +#ifdef __cplusplus +} +#endif + #endif /* _LTTNG_UST_CTL_H */