X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fevent-internal.h;fp=include%2Flttng%2Fevent-internal.h;h=7370d0510730eb77d4f039bd62c828c911c5c47c;hp=8d03fbdec5680c10fd861b02dfe92bac8e5fd379;hb=7966af5763c4aaca39df9bbfa9277ff15715c720;hpb=3a5f70173aa04d11ccb22694d5d31a702cad33ab diff --git a/include/lttng/event-internal.h b/include/lttng/event-internal.h index 8d03fbdec..7370d0510 100644 --- a/include/lttng/event-internal.h +++ b/include/lttng/event-internal.h @@ -15,6 +15,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + struct lttng_userspace_probe_location; struct lttng_event_extended { @@ -35,4 +39,8 @@ struct lttng_event_extended { struct lttng_event *lttng_event_copy(const struct lttng_event *event); +#ifdef __cplusplus +} +#endif + #endif /* LTTNG_EVENT_INTERNAL_H */