Add empty plug-in hooks to prevent their elimination by the linker
[babeltrace.git] / formats / lttng-live / lttng-live-plugin.c
index 35f0f48a428854412f19fdd68a34bf5c44bec25a..f2c7536ec0d4e6223f21d68985fa9fcbb0665b3b 100644 (file)
 
 static volatile int should_quit;
 
+void bt_lttng_live_hook(void)
+{
+       /*
+        * Dummy function to prevent the linker from discarding this format as
+        * "unused" in static builds.
+        */
+}
+
 int lttng_live_should_quit(void)
 {
        return should_quit;
This page took 0.022582 seconds and 4 git commands to generate.