X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Flocation-internal.h;h=9eafd471a2d5273cb4aa2273cfc304ce8f9f0b02;hb=7966af5763c4aaca39df9bbfa9277ff15715c720;hp=33498c90d5c0482b6663fdff5cb6ea68f547aa12;hpb=3a5f70173aa04d11ccb22694d5d31a702cad33ab;p=lttng-tools.git diff --git a/include/lttng/location-internal.h b/include/lttng/location-internal.h index 33498c90d..9eafd471a 100644 --- a/include/lttng/location-internal.h +++ b/include/lttng/location-internal.h @@ -15,6 +15,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* * The public API assumes that trace archive locations are always * provided as "constant". This means that the user of liblttng-ctl never @@ -97,4 +101,8 @@ void lttng_trace_archive_location_get( void lttng_trace_archive_location_put( struct lttng_trace_archive_location *location); +#ifdef __cplusplus +} +#endif + #endif /* LTTNG_LOCATION_INTERNAL_H */