X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Ftypes%2Fstruct.c;h=729c456e63c5769663ce720fadf7aa7a2b7e0ccb;hp=8d248da146bac3d109e77edec789b3a0ade39d25;hb=11796b9629d5a870163e4edd67e457576553aaef;hpb=7fe001942cc8ece60d945cbfbd1d135ff548dc7d diff --git a/formats/ctf/types/struct.c b/formats/ctf/types/struct.c index 8d248da1..729c456e 100644 --- a/formats/ctf/types/struct.c +++ b/formats/ctf/types/struct.c @@ -1,7 +1,7 @@ /* * Common Trace Format * - * Structure write/access functions. + * Structure format access functions. * * Copyright (c) 2010 Mathieu Desnoyers * @@ -23,4 +23,13 @@ #include #include +void ctf_struct_begin(struct stream_pos *pos, + const struct type_class_struct *struct_class) +{ + align_pos(pos, struct_class->p.alignment); +} +void ctf_struct_end(struct stream_pos *pos, + const struct type_class_struct *struct_class) +{ +}