Cleanup: remove private babeltrace.h
[babeltrace.git] / src / plugins / ctf / fs-sink / translate-trace-ir-to-ctf-ir.c
index 64f4d5eab5759faf7ffc05729d16dc6fe1f6e196..102432277296abe278a993ac6d9a9d8982c5a0ef 100644 (file)
@@ -24,7 +24,7 @@
 #include "logging.h"
 
 #include <babeltrace2/babeltrace.h>
-#include "common/babeltrace.h"
+#include "common/macros.h"
 #include "common/common.h"
 #include "common/assert.h"
 #include <stdio.h>
@@ -1095,7 +1095,7 @@ int try_translate_event_class_trace_ir_to_ctf_ir(
 
        /* Check in hash table first */
        *out_ec = g_hash_table_lookup(sc->event_classes_from_ir, ir_ec);
-       if (likely(*out_ec)) {
+       if (G_LIKELY(*out_ec)) {
                goto end;
        }
 
This page took 0.023752 seconds and 4 git commands to generate.