X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=plugins%2Flibctfcopytrace%2Fclock-fields.h;h=b3643501cf087ed85d5e64e58b24aa5d58587b30;hp=54dcb9afe1c006f81c17f8bd05008a2f1ef9a715;hb=40f4ba76dd6f9508ca51b6220eaed57632281a07;hpb=05e2128659970c32648a01255ed870449f05d518 diff --git a/plugins/libctfcopytrace/clock-fields.h b/plugins/libctfcopytrace/clock-fields.h index 54dcb9af..b3643501 100644 --- a/plugins/libctfcopytrace/clock-fields.h +++ b/plugins/libctfcopytrace/clock-fields.h @@ -38,20 +38,20 @@ extern "C" { BT_HIDDEN struct bt_field_type *override_header_type(FILE *err, struct bt_field_type *type, - struct bt_trace *writer_trace); + const struct bt_trace *writer_trace); BT_HIDDEN -int copy_override_field(FILE *err, struct bt_event *event, - struct bt_event *writer_event, struct bt_field *field, - struct bt_field *copy_field); +int copy_override_field(FILE *err, const struct bt_event *event, + const struct bt_event *writer_event, const struct bt_field *field, + const struct bt_field *copy_field); BT_HIDDEN -struct bt_clock_class *stream_class_get_clock_class(FILE *err, - struct bt_stream_class *stream_class); +const struct bt_clock_class *stream_class_get_clock_class(FILE *err, + const struct bt_stream_class *stream_class); BT_HIDDEN -struct bt_clock_class *event_get_clock_class(FILE *err, - struct bt_event *event); +const struct bt_clock_class *event_get_clock_class(FILE *err, + const struct bt_event *event); #ifdef __cplusplus }