X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Ftypes%2Fvariant.c;h=f3559f55ebae7242a8c6394f824481ef0abc59a2;hp=d2ef7714dd8622407ca4a8255ef38168c5e449b8;hb=ebae302b9108c5747e8af8b3d54740f48479b245;hpb=01c76b246be85b5d9c8e99813950fb194c9f714f diff --git a/formats/ctf/types/variant.c b/formats/ctf/types/variant.c index d2ef7714..f3559f55 100644 --- a/formats/ctf/types/variant.c +++ b/formats/ctf/types/variant.c @@ -16,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 @@ -26,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); }