X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fbt-dummy%2Fbt-dummy.c;h=f0ce913c2a0a88344ea1ad47349810673f1d4a70;hp=537e6bbba1206308feecff945cc61111d57f7904;hb=1b8455b701df7ac196e35795b9ab8ef2d402058d;hpb=1cf393f63db4dce618515749d5549564d1313ee4 diff --git a/formats/bt-dummy/bt-dummy.c b/formats/bt-dummy/bt-dummy.c index 537e6bbb..f0ce913c 100644 --- a/formats/bt-dummy/bt-dummy.c +++ b/formats/bt-dummy/bt-dummy.c @@ -45,7 +45,7 @@ int bt_dummy_write_event(struct bt_stream_pos *ppos, struct ctf_stream_definitio } static -struct trace_descriptor *bt_dummy_open_trace(const char *path, int flags, +struct bt_trace_descriptor *bt_dummy_open_trace(const char *path, int flags, void (*packet_seek)(struct bt_stream_pos *pos, size_t index, int whence), FILE *metadata_fp) { @@ -58,7 +58,7 @@ struct trace_descriptor *bt_dummy_open_trace(const char *path, int flags, } static -int bt_dummy_close_trace(struct trace_descriptor *td) +int bt_dummy_close_trace(struct bt_trace_descriptor *td) { struct ctf_text_stream_pos *pos = container_of(td, struct ctf_text_stream_pos,