-int ctf_copy_event_header(FILE *err, struct bt_event *event,
- struct bt_event_class *writer_event_class,
- struct bt_event *writer_event,
- struct bt_field *event_header);
+int ctf_copy_event_header(FILE *err, const bt_event *event,
+ const bt_event_class *writer_event_class,
+ const bt_event *writer_event,
+ const bt_field *event_header);