X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ffs-handle.h;h=afc5abc48571ed1510e91b56ba13d9d7151a8819;hb=3afa94aeca5a0daae40fd7b6cc96b7e4c150c7d8;hp=be6419c88315343b2980b415a54fc84ca0ae475e;hpb=ca806b0b247f89c62ac628a7779ae84049a8c2d7;p=lttng-tools.git diff --git a/src/common/fs-handle.h b/src/common/fs-handle.h index be6419c88..afc5abc48 100644 --- a/src/common/fs-handle.h +++ b/src/common/fs-handle.h @@ -11,6 +11,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + struct fs_handle; /* @@ -63,4 +67,8 @@ int fs_handle_truncate(struct fs_handle *handle, off_t offset); off_t fs_handle_seek(struct fs_handle *handle, off_t offset, int whence); +#ifdef __cplusplus +} +#endif + #endif /* FS_HANDLE_H */