projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: add extern "C" to two header files
[lttng-ust.git]
/
include
/
lttng
/
ust-ctl.h
diff --git
a/include/lttng/ust-ctl.h
b/include/lttng/ust-ctl.h
index 6e99bff5ff9e5c3dcbe255b62098eb33815c4e06..360bb09ab5d02dac0901963a11f208c1db4200df 100644
(file)
--- a/
include/lttng/ust-ctl.h
+++ b/
include/lttng/ust-ctl.h
@@
-18,6
+18,10
@@
#include <lttng/ust-utils.h>
#include <lttng/ust-sigbus.h>
#include <lttng/ust-utils.h>
#include <lttng/ust-sigbus.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef LTTNG_UST_UUID_LEN
#define LTTNG_UST_UUID_LEN 16
#endif
#ifndef LTTNG_UST_UUID_LEN
#define LTTNG_UST_UUID_LEN 16
#endif
@@
-656,4
+660,8
@@
int lttng_ust_ctl_counter_clear(struct lttng_ust_ctl_daemon_counter *counter,
void lttng_ust_ctl_sigbus_handle(void *addr);
void lttng_ust_ctl_sigbus_handle(void *addr);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _LTTNG_UST_CTL_H */
#endif /* _LTTNG_UST_CTL_H */
This page took
0.023587 seconds
and
4
git commands to generate.