X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Ffs-handle.h;h=afc5abc48571ed1510e91b56ba13d9d7151a8819;hb=ac497a37018f3c253d2e50397294f58d33f7f24f;hp=be6419c88315343b2980b415a54fc84ca0ae475e;hpb=7966af5763c4aaca39df9bbfa9277ff15715c720;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 */