X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=formats%2Fctf%2Ftypes%2Fstruct.c;h=7c1562bbf19dc6f43d5933921e12942c91dd415a;hb=1cf393f63db4dce618515749d5549564d1313ee4;hp=adce6cbabb32211cddf296d6ab4dd36bdf1fd451;hpb=64fa3fec6c28f1d077812b4bfa06ae73b0f5999d;p=babeltrace.git diff --git a/formats/ctf/types/struct.c b/formats/ctf/types/struct.c index adce6cba..7c1562bb 100644 --- a/formats/ctf/types/struct.c +++ b/formats/ctf/types/struct.c @@ -16,15 +16,23 @@ * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. */ #include -int ctf_struct_rw(struct stream_pos *ppos, struct definition *definition) +int ctf_struct_rw(struct bt_stream_pos *ppos, struct definition *definition) { struct declaration *declaration = definition->declaration; struct ctf_stream_pos *pos = ctf_pos(ppos); ctf_align_pos(pos, declaration->alignment); - return struct_rw(ppos, definition); + return bt_struct_rw(ppos, definition); }