X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Ftypes%2Finteger.c;h=257341adfa41ce6320a68a00e04cf6bc4d43490f;hp=1267925d3f9304ac0f7fc94089f63a7de9b0fe41;hb=0d69b916c5ba44b63a26aa038d416d6ee286306b;hpb=37b99bdba8478569634dd5ceecea50d1e9f9ac0a diff --git a/formats/ctf/types/integer.c b/formats/ctf/types/integer.c index 1267925d..257341ad 100644 --- a/formats/ctf/types/integer.c +++ b/formats/ctf/types/integer.c @@ -40,7 +40,7 @@ static int _aligned_integer_read(struct bt_stream_pos *ppos, - struct definition *definition) + struct bt_definition *definition) { struct definition_integer *integer_definition = container_of(definition, struct definition_integer, p); @@ -142,7 +142,7 @@ int _aligned_integer_read(struct bt_stream_pos *ppos, static int _aligned_integer_write(struct bt_stream_pos *ppos, - struct definition *definition) + struct bt_definition *definition) { struct definition_integer *integer_definition = container_of(definition, struct definition_integer, p); @@ -211,7 +211,7 @@ end: return 0; } -int ctf_integer_read(struct bt_stream_pos *ppos, struct definition *definition) +int ctf_integer_read(struct bt_stream_pos *ppos, struct bt_definition *definition) { struct definition_integer *integer_definition = container_of(definition, struct definition_integer, p); @@ -256,7 +256,7 @@ int ctf_integer_read(struct bt_stream_pos *ppos, struct definition *definition) return 0; } -int ctf_integer_write(struct bt_stream_pos *ppos, struct definition *definition) +int ctf_integer_write(struct bt_stream_pos *ppos, struct bt_definition *definition) { struct definition_integer *integer_definition = container_of(definition, struct definition_integer, p);