Add bt_component_create_with_init_method_data()
[babeltrace.git] / plugins / trimmer / trimmer.c
index 1f9f48a3cc5cd37f88a34b2b0ca95b8aba24b4b0..2848c8006df976b33ed1ca9e13c1b199c0fec3a2 100644 (file)
@@ -349,10 +349,12 @@ end:
 }
 
 enum bt_component_status trimmer_component_init(
-       struct bt_component *component, struct bt_value *params)
+       struct bt_component *component, struct bt_value *params,
+       void *init_method_data)
 {
        enum bt_component_status ret;
        struct trimmer *trimmer = create_trimmer_data();
+       (void) init_method_data;
 
        if (!trimmer) {
                ret = BT_COMPONENT_STATUS_NOMEM;
This page took 0.023195 seconds and 4 git commands to generate.