test_plugin: use env. var. instead of global symbol because G_MODULE_BIND_LOCAL
[babeltrace.git] / tests / lib / test-plugin-plugins / sfs.c
index 93fbb02367ce9cf01a0d90b51f9a858d249e6f4c..c17f078b8fd172494e9aa0bb143cdf0bb8a1c5f8 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #include <babeltrace/plugin/plugin-dev.h>
-#include <babeltrace/component/component-class.h>
+#include <babeltrace/graph/component-class.h>
 #include <babeltrace/values.h>
 #include <babeltrace/ref.h>
 #include <assert.h>
@@ -72,6 +72,7 @@ static struct bt_value *query_method(
        return results;
 }
 
+BT_PLUGIN_MODULE();
 BT_PLUGIN(test_sfs);
 BT_PLUGIN_DESCRIPTION("Babeltrace plugin with source, sink, and filter component classes");
 BT_PLUGIN_AUTHOR("Janine Sutto");
This page took 0.024436 seconds and 4 git commands to generate.