X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf-text%2Ftypes%2Fstruct.c;h=e9365affe83ec9a30796ed7c1f3074968479aaff;hp=8a9344eb01dd765fd3d1b4a07e32f4656141c130;hb=c8c981321e028ae65247badf220f6106fa106cb7;hpb=ebdb2383272428704cfbb8662f567159f3697cad diff --git a/formats/ctf-text/types/struct.c b/formats/ctf-text/types/struct.c index 8a9344eb..e9365aff 100644 --- a/formats/ctf-text/types/struct.c +++ b/formats/ctf-text/types/struct.c @@ -35,7 +35,7 @@ int ctf_text_struct_write(struct stream_pos *ppos, struct definition *definition struct declaration_struct *struct_declaration = container_of(declaration, struct declaration_struct, p); struct ctf_text_stream_pos *pos = ctf_text_pos(ppos); - uint64_t len = struct_declaration_len(struct_declaration); + uint64_t len = bt_struct_declaration_len(struct_declaration); int field_nr_saved; int ret; @@ -58,7 +58,7 @@ int ctf_text_struct_write(struct stream_pos *ppos, struct definition *definition } field_nr_saved = pos->field_nr; pos->field_nr = 0; - ret = struct_rw(ppos, definition); + ret = bt_struct_rw(ppos, definition); if (!pos->dummy) { pos->depth--; if (pos->depth >= 0 && (pos->print_names || len > 1)) {