Fix: tracef.h: add missing c++ guard
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 13 May 2014 13:34:03 +0000 (09:34 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 13 May 2014 13:34:03 +0000 (09:34 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/tracef.h

index 16a984b664166068759c832055bb699c6c09fb01..7e8b59ee3bc5abf3a63b665f36b093dc3733d500 100644 (file)
 
 #include <lttng/lttng-ust-tracef.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 extern
 void _lttng_ust_tracef(const char *fmt, ...);
 
@@ -35,4 +39,8 @@ void _lttng_ust_tracef(const char *fmt, ...);
                        _lttng_ust_tracef(fmt, ## __VA_ARGS__);         \
        } while (0)
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _LTTNG_UST_TRACEF_H */
This page took 0.025406 seconds and 4 git commands to generate.