X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf-text%2Fctf-text.c;h=1f798b2bc372c522e369f9d2d86e0b66965bcc8b;hp=d344c1c0ce7d193532165bec1cd02456a9cdb57c;hb=1cf393f63db4dce618515749d5549564d1313ee4;hpb=9426d563f74aed0b0f32818d4ef535cdfacdb167 diff --git a/formats/ctf-text/ctf-text.c b/formats/ctf-text/ctf-text.c index d344c1c0..1f798b2b 100644 --- a/formats/ctf-text/ctf-text.c +++ b/formats/ctf-text/ctf-text.c @@ -88,7 +88,7 @@ enum bt_loglevel { static struct trace_descriptor *ctf_text_open_trace(const char *path, int flags, - void (*packet_seek)(struct stream_pos *pos, size_t index, + void (*packet_seek)(struct bt_stream_pos *pos, size_t index, int whence), FILE *metadata_fp); static int ctf_text_close_trace(struct trace_descriptor *descriptor); @@ -232,7 +232,7 @@ const char *print_loglevel(int value) } static -int ctf_text_write_event(struct stream_pos *ppos, struct ctf_stream_definition *stream) +int ctf_text_write_event(struct bt_stream_pos *ppos, struct ctf_stream_definition *stream) { struct ctf_text_stream_pos *pos = @@ -556,7 +556,7 @@ error: static struct trace_descriptor *ctf_text_open_trace(const char *path, int flags, - void (*packet_seek)(struct stream_pos *pos, size_t index, + void (*packet_seek)(struct bt_stream_pos *pos, size_t index, int whence), FILE *metadata_fp) { struct ctf_text_stream_pos *pos;