Fix: g++ 4.8 doesn't support non-trivial designated initializers
[lttng-tools.git] / src / common / spawn-viewer.h
index 409c60ec86067fe023527c9c0942d314573fbb3a..1221c5b08c51f21474282f9aa45efc343011ca84 100644 (file)
@@ -8,6 +8,7 @@
  *
  */
 
+#include <lttng/lttng-export.h>
 #include <stdbool.h>
 
 /*
@@ -20,6 +21,7 @@
  * This symbol was mistakenly made public before the 2.12 release. It can't
  * be removed (but it can be stubbed-out if necessary).
  */
+extern "C" LTTNG_EXPORT
 int spawn_viewer(const char *trace_path, char *opt_viewer, bool opt_live_mode);
 
 #endif /* ifndef LTTNG_SPAWN_VIEWER_H */
This page took 0.023071 seconds and 4 git commands to generate.