X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Ftypes%2Fvariant.c;h=f3559f55ebae7242a8c6394f824481ef0abc59a2;hp=25c189dd5dc6f8c9314d8299033fed739432124b;hb=ebae302b9108c5747e8af8b3d54740f48479b245;hpb=c5e74408f9786219f6b44400dcf2098ab9cc78fb diff --git a/formats/ctf/types/variant.c b/formats/ctf/types/variant.c index 25c189dd..f3559f55 100644 --- a/formats/ctf/types/variant.c +++ b/formats/ctf/types/variant.c @@ -3,7 +3,9 @@ * * Variant format access functions. * - * Copyright 2011 - Mathieu Desnoyers + * Copyright 2010-2011 EfficiOS Inc. and Linux Foundation + * + * Author: Mathieu Desnoyers * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -14,6 +16,14 @@ * * 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 @@ -24,5 +34,5 @@ int ctf_variant_rw(struct stream_pos *ppos, struct definition *definition) struct ctf_stream_pos *pos = ctf_pos(ppos); ctf_align_pos(pos, declaration->alignment); - return variant_rw(ppos, definition); + return bt_variant_rw(ppos, definition); }