X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Fcallbacks.c;h=6130911fec112da82f429fa60fd676e94883e96c;hp=ea41344a72ef1ff5c5957383fe96e9a49de28daf;hb=c716f83b53677d5f2e6a15463408f464006eafb7;hpb=f380e105704874a3b1fc065122ca286397e3f83c;ds=sidebyside diff --git a/formats/ctf/callbacks.c b/formats/ctf/callbacks.c index ea41344a..6130911f 100644 --- a/formats/ctf/callbacks.c +++ b/formats/ctf/callbacks.c @@ -146,11 +146,11 @@ int bt_ctf_iter_add_callback(struct bt_ctf_iter *iter, } static -struct ctf_stream_event *extract_ctf_stream_event(struct ctf_stream *stream) +struct ctf_event_definition *extract_ctf_stream_event(struct ctf_stream *stream) { struct ctf_stream_declaration *stream_class = stream->stream_class; struct ctf_event *event_class; - struct ctf_stream_event *event; + struct ctf_event_definition *event; uint64_t id = stream->event_id; if (id >= stream_class->events_by_id->len) {