projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: compile libconsumer, libust-consumer, libkernel-consumer as C++
[lttng-tools.git]
/
src
/
common
/
ust-consumer
/
ust-consumer.h
diff --git
a/src/common/ust-consumer/ust-consumer.h
b/src/common/ust-consumer/ust-consumer.h
index e2507a7f441da932809adb3220e22bb803e9ec32..29ae853daa54d90fb8f2a008f0a84aeda94aeb64 100644
(file)
--- a/
src/common/ust-consumer/ust-consumer.h
+++ b/
src/common/ust-consumer/ust-consumer.h
@@
-13,6
+13,10
@@
#include <common/consumer/consumer.h>
#include <stdbool.h>
#include <common/consumer/consumer.h>
#include <stdbool.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef HAVE_LIBLTTNG_UST_CTL
int lttng_ustconsumer_take_snapshot(struct lttng_consumer_stream *stream);
#ifdef HAVE_LIBLTTNG_UST_CTL
int lttng_ustconsumer_take_snapshot(struct lttng_consumer_stream *stream);
@@
-240,4
+244,8
@@
void lttng_ustconsumer_sigbus_handle(void *addr)
}
#endif /* HAVE_LIBLTTNG_UST_CTL */
}
#endif /* HAVE_LIBLTTNG_UST_CTL */
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _LTTNG_USTCONSUMER_H */
#endif /* _LTTNG_USTCONSUMER_H */
This page took
0.022855 seconds
and
4
git commands to generate.