Remove extern "C" from internal headers
[lttng-tools.git] / src / common / mi-lttng.h
index 74ae502f5be023941a939f7a3a0fe8571f72246a..a9c59a62ac61b6b33b11c65df159d9878121b78a 100644 (file)
 #include <common/config/session-config.h>
 #include <lttng/lttng.h>
 
 #include <common/config/session-config.h>
 #include <lttng/lttng.h>
 
-#if defined(__cplusplus)
-extern "C" {
-#endif
-
 /* Don't want to reference snapshot-internal.h here */
 struct lttng_snapshot_output;
 
 /* Don't want to reference snapshot-internal.h here */
 struct lttng_snapshot_output;
 
@@ -1121,8 +1117,4 @@ int mi_lttng_rotate(struct mi_writer *writer,
                enum lttng_rotation_state rotation_state,
                const struct lttng_trace_archive_location *location);
 
                enum lttng_rotation_state rotation_state,
                const struct lttng_trace_archive_location *location);
 
-#if defined(__cplusplus)
-}
-#endif
-
 #endif /* _MI_LTTNG_H */
 #endif /* _MI_LTTNG_H */
This page took 0.023084 seconds and 4 git commands to generate.