bin: compile lttng-sessiond as C++
[lttng-tools.git] / src / common / fd-handle.h
index dab9e2bfaccab4017502f079aba83f5b2fe27e04..36a92473a0b6ec7c2c1162e779448f0885d3d4d7 100644 (file)
 
 #include <common/macros.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * Wrapper around a file descriptor providing reference counting semantics.
  *
@@ -44,4 +48,8 @@ int fd_handle_get_fd(struct fd_handle *handle);
  */
 struct fd_handle *fd_handle_copy(const struct fd_handle *handle);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* FS_HANDLE_H */
This page took 0.023658 seconds and 4 git commands to generate.