X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace2%2Fctf-writer%2Fstream-internal.h;h=c7eb9faedefcd35c8f7474e6967d5d97b3617b79;hp=456a6f4d84962a1bb2823c8b94c8b74e6c72dfcc;hb=67d2ce028c96b6a3b3614b393d8928663bce4490;hpb=172e6876abbb70d0323a500e6b44f90641fbe2fb diff --git a/include/babeltrace2/ctf-writer/stream-internal.h b/include/babeltrace2/ctf-writer/stream-internal.h index 456a6f4d..c7eb9fae 100644 --- a/include/babeltrace2/ctf-writer/stream-internal.h +++ b/include/babeltrace2/ctf-writer/stream-internal.h @@ -29,7 +29,7 @@ */ #include -#include +#include #include #include #include @@ -67,7 +67,7 @@ struct bt_ctf_stream_class_common *bt_ctf_stream_common_borrow_class( static inline const char *bt_ctf_stream_common_get_name(struct bt_ctf_stream_common *stream) { - BT_ASSERT_PRE_NON_NULL(stream, "Stream"); + BT_CTF_ASSERT_PRE_NON_NULL(stream, "Stream"); return stream->name ? stream->name->str : NULL; } @@ -76,7 +76,7 @@ int64_t bt_ctf_stream_common_get_id(struct bt_ctf_stream_common *stream) { int64_t ret; - BT_ASSERT_PRE_NON_NULL(stream, "Stream"); + BT_CTF_ASSERT_PRE_NON_NULL(stream, "Stream"); ret = stream->id; if (ret < 0) { BT_LOGV("Stream's ID is not set: addr=%p, name=\"%s\"",