X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=formats%2Fctf%2Ftypes%2Fvariant.c;h=ece8b33338dd58f7e38a53a9c5bf6c660d83a190;hb=0d69b916c5ba44b63a26aa038d416d6ee286306b;hp=d2ef7714dd8622407ca4a8255ef38168c5e449b8;hpb=01c76b246be85b5d9c8e99813950fb194c9f714f;p=babeltrace.git diff --git a/formats/ctf/types/variant.c b/formats/ctf/types/variant.c index d2ef7714..ece8b333 100644 --- a/formats/ctf/types/variant.c +++ b/formats/ctf/types/variant.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_variant_rw(struct stream_pos *ppos, struct definition *definition) +int ctf_variant_rw(struct bt_stream_pos *ppos, struct bt_definition *definition) { struct declaration *declaration = definition->declaration; 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); }