X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=include%2Fust%2Ftracepoint-event.h;h=b4bd59cbaec3962cfea28c72d9c788b25b011d03;hb=35ec2526b0bd16c7ee9884fda90b8e761e75425d;hp=aefe5061255c12b5e7dc7735ccded6595244d9e7;hpb=9b22dc6bd527ce4f05ac7300abc608ede63684de;p=lttng-ust.git diff --git a/include/ust/tracepoint-event.h b/include/ust/tracepoint-event.h index aefe5061..b4bd59cb 100644 --- a/include/ust/tracepoint-event.h +++ b/include/ust/tracepoint-event.h @@ -37,6 +37,10 @@ * searching for a header within your project build tree. */ +#ifdef __cplusplus +extern "C" { +#endif + #ifdef TRACEPOINT_CREATE_PROBES /* Prevent recursion */ @@ -111,3 +115,7 @@ #define TRACEPOINT_CREATE_PROBES #endif /* TRACEPOINT_CREATE_PROBES */ + +#ifdef __cplusplus +} +#endif