bin: compile lttng-sessiond as C++
[lttng-tools.git] / src / bin / lttng-sessiond / condition-internal.h
index 270a8b1afbf3da33919c3e7864bf6908ff12da44..fa8f7be044ef011062a964743d52d1eb5dbc64e5 100644 (file)
 
 #include <lttng/condition/condition.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * The lttng_condition hashing code is kept in this file (rather than
  * condition.c) since it makes use of GPLv2 code (hashtable utils), which we
@@ -19,4 +23,9 @@ unsigned long lttng_condition_hash(const struct lttng_condition *condition);
 
 struct lttng_condition *lttng_condition_copy(
                const struct lttng_condition *condition);
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* LTTNG_SESSIOND_CONDITION_INTERNAL_H */
This page took 0.024595 seconds and 4 git commands to generate.