-int copy_find_clock_variant_field(FILE *err, struct bt_event *event,
- struct bt_event *writer_event, struct bt_field *field,
- struct bt_field_type *type, struct bt_field *copy_field);
+int copy_find_clock_variant_field(FILE *err, const struct bt_event *event,
+ const struct bt_event *writer_event, const struct bt_field *field,
+ struct bt_field_type *type, const struct bt_field *copy_field);