X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Futils%2Ftrimmer%2Ftrimmer.c;h=0c5af14776a0c1865a0dcfd1cadb5e5086a811af;hb=8eee8ea204462cf0efd8c3b59a4dd57709fffb0b;hp=a7bc66d572a2ede20fa4c81bfffe2d8cbe4d2c3b;hpb=8c6884d908cf7a7cf2340f3384441278635d19e1;p=babeltrace.git diff --git a/plugins/utils/trimmer/trimmer.c b/plugins/utils/trimmer/trimmer.c index a7bc66d5..0c5af147 100644 --- a/plugins/utils/trimmer/trimmer.c +++ b/plugins/utils/trimmer/trimmer.c @@ -48,7 +48,7 @@ struct trimmer *create_trimmer_data(void) return g_new0(struct trimmer, 1); } -void finalize_trimmer(struct bt_self_component *component) +void finalize_trimmer(bt_self_component *component) { void *data = bt_self_component_get_user_data(component); @@ -72,7 +72,7 @@ void finalize_trimmer(struct bt_self_component *component) * ss */ static -int timestamp_from_param(const char *param_name, struct bt_value *param, +int timestamp_from_param(const char *param_name, bt_value *param, struct trimmer *trimmer, struct trimmer_bound *result_bound, bt_bool gmt) { @@ -292,9 +292,9 @@ lazy: static enum bt_component_status init_from_params(struct trimmer *trimmer, - struct bt_value *params) + bt_value *params) { - struct bt_value *value = NULL; + bt_value *value = NULL; bt_bool gmt = BT_FALSE; enum bt_component_status ret = BT_COMPONENT_STATUS_OK; @@ -345,7 +345,7 @@ end: } enum bt_component_status trimmer_component_init( - struct bt_self_component *component, struct bt_value *params, + bt_self_component *component, bt_value *params, UNUSED_VAR void *init_method_data) { enum bt_component_status ret;