projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bin: compile lttng-sessiond as C++
[lttng-tools.git]
/
src
/
common
/
index-allocator.h
diff --git
a/src/common/index-allocator.h
b/src/common/index-allocator.h
index 3da733e9ef03db82c4f08a33345de07dbef0df8a..9dbd745e6bdaf52ef1ccebae2dffd7c3b1308e82 100644
(file)
--- a/
src/common/index-allocator.h
+++ b/
src/common/index-allocator.h
@@
-10,6
+10,10
@@
#include <inttypes.h>
#include <inttypes.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct lttng_index_allocator;
enum lttng_index_allocator_status {
struct lttng_index_allocator;
enum lttng_index_allocator_status {
@@
-49,4
+53,8
@@
enum lttng_index_allocator_status lttng_index_allocator_release(
*/
void lttng_index_allocator_destroy(struct lttng_index_allocator *allocator);
*/
void lttng_index_allocator_destroy(struct lttng_index_allocator *allocator);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _COMMON_INDEX_ALLOCATOR_H */
#endif /* _COMMON_INDEX_ALLOCATOR_H */
This page took
0.023338 seconds
and
4
git commands to generate.