Cleanup: remove private babeltrace.h
[babeltrace.git] / src / plugins / utils / dummy / dummy.c
index 5da07ea21ddc9dbec9dc5656bc38fc05add16674..d21f26a39d784cc1fd0b29da300e8188830e538a 100644 (file)
@@ -21,7 +21,7 @@
  */
 
 #include <babeltrace2/babeltrace.h>
-#include "common/babeltrace.h"
+#include "common/macros.h"
 #include "plugins/plugins-common.h"
 #include "common/assert.h"
 #include "dummy.h"
@@ -120,7 +120,7 @@ bt_self_component_status dummy_consume(
                bt_self_component_sink_as_self_component(component));
        BT_ASSERT(dummy);
 
-       if (unlikely(!dummy->msg_iter)) {
+       if (G_UNLIKELY(!dummy->msg_iter)) {
                ret = BT_SELF_COMPONENT_STATUS_END;
                goto end;
        }
This page took 0.022821 seconds and 4 git commands to generate.