~ubuntu-branches/ubuntu/vivid/babeltrace/vivid

« back to all changes in this revision

Viewing changes to formats/ctf/types/variant.c

  • Committer: Package Import Robot
  • Author(s): Jon Bernard, a457ed8
  • Date: 2013-04-02 15:49:18 UTC
  • mfrom: (1.1.8) (0.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20130402154918-njndzk94lffxhlmx
Tags: 1.1.0-1
[a457ed8] New upstream version 1.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
#include <babeltrace/ctf/types.h>
30
30
 
31
 
int ctf_variant_rw(struct stream_pos *ppos, struct definition *definition)
 
31
int ctf_variant_rw(struct bt_stream_pos *ppos, struct bt_definition *definition)
32
32
{
33
 
        struct declaration *declaration = definition->declaration;
 
33
        struct bt_declaration *declaration = definition->declaration;
34
34
        struct ctf_stream_pos *pos = ctf_pos(ppos);
35
35
 
36
36
        ctf_align_pos(pos, declaration->alignment);
37
 
        return variant_rw(ppos, definition);
 
37
        return bt_variant_rw(ppos, definition);
38
38
}