Fix -Wmissing-prototypes/-Wmissing-declarations warnings
[babeltrace.git] / src / plugins / ctf / common / msg-iter / msg-iter.c
index de7e594ff74382a9973a8ef6e6a76b1338135154..b536a113280aa1dfa058f4cd311d0ef972d83a39 100644 (file)
@@ -2093,6 +2093,7 @@ enum bt_bfcr_status bfcr_floating_point_cb(double value,
        enum bt_bfcr_status status = BT_BFCR_STATUS_OK;
        bt_field *field = NULL;
        struct bt_msg_iter *notit = data;
+       bt_field_class_type type;
 
        BT_COMP_LOGT("Floating point number function called from BFCR: "
                "notit-addr=%p, bfcr-addr=%p, fc-addr=%p, "
@@ -2104,7 +2105,7 @@ enum bt_bfcr_status bfcr_floating_point_cb(double value,
        }
 
        field = borrow_next_field(notit);
-       bt_field_class_type type = bt_field_get_class_type(field);
+       type = bt_field_get_class_type(field);
        BT_ASSERT_DBG(field);
        BT_ASSERT_DBG(bt_field_borrow_class_const(field) == fc->ir_fc);
        BT_ASSERT_DBG(bt_field_class_type_is(type, BT_FIELD_CLASS_TYPE_REAL));
@@ -2215,6 +2216,7 @@ end:
        return BT_BFCR_STATUS_OK;
 }
 
+static
 enum bt_bfcr_status bfcr_compound_begin_cb(
                struct ctf_field_class *fc, void *data)
 {
@@ -2266,6 +2268,7 @@ end:
        return BT_BFCR_STATUS_OK;
 }
 
+static
 enum bt_bfcr_status bfcr_compound_end_cb(
                struct ctf_field_class *fc, void *data)
 {
This page took 0.024135 seconds and 4 git commands to generate.