X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fstream-internal.h;h=e6b8ea0ba2490493a28189ba5782519a0d2a19a8;hp=3901a9ae4536104138a498683ba2bed2385b35aa;hb=f6ccaed94e575af57fe6bf38154771bee4871a2a;hpb=464ebc311d460b29f681703aea0aa00eef9e6475 diff --git a/include/babeltrace/ctf-ir/stream-internal.h b/include/babeltrace/ctf-ir/stream-internal.h index 3901a9ae..e6b8ea0b 100644 --- a/include/babeltrace/ctf-ir/stream-internal.h +++ b/include/babeltrace/ctf-ir/stream-internal.h @@ -34,6 +34,7 @@ #include #include #include +#include #include struct bt_port; @@ -112,7 +113,7 @@ static inline struct bt_stream_class *bt_stream_borrow_stream_class( struct bt_stream *stream) { - assert(stream); + BT_ASSERT(stream); return stream->stream_class; }