Re-format C++ files
[babeltrace.git] / src / plugins / ctf / common / metadata / ctf-meta-translate.cpp
index c39948eee13966479e9dfc40053754bb303f85cc..9082690a7fdb72cd7d9a40893714f3a4ce639eb4 100644 (file)
@@ -129,7 +129,7 @@ static inline bt_field_class *ctf_field_class_float_to_ir(struct ctx *ctx,
 }
 
 static inline bt_field_class *ctf_field_class_string_to_ir(struct ctx *ctx,
-                                                           struct ctf_field_class_string *fc)
+                                                           struct ctf_field_class_string *)
 {
     bt_field_class *ir_fc = bt_field_class_string_create(ctx->ir_tc);
 
@@ -139,9 +139,8 @@ static inline bt_field_class *ctf_field_class_string_to_ir(struct ctx *ctx,
 
 static inline void translate_struct_field_class_members(struct ctx *ctx,
                                                         struct ctf_field_class_struct *fc,
-                                                        bt_field_class *ir_fc,
-                                                        bool with_header_prefix,
-                                                        struct ctf_field_class_struct *context_fc)
+                                                        bt_field_class *ir_fc, bool,
+                                                        struct ctf_field_class_struct *)
 {
     uint64_t i;
     int ret;
@@ -618,13 +617,12 @@ end:
     return ret;
 }
 
-BT_HIDDEN
 int ctf_trace_class_translate(bt_self_component *self_comp, bt_trace_class *ir_tc,
                               struct ctf_trace_class *tc)
 {
     int ret = 0;
     uint64_t i;
-    struct ctx ctx = {0};
+    struct ctx ctx = {};
 
     ctx.self_comp = self_comp;
     ctx.tc = tc;
This page took 0.024443 seconds and 4 git commands to generate.