Cleanup: remove private babeltrace.h
[babeltrace.git] / src / ctf-writer / object.c
index 616fcf3658b3a89f1549724911655cab9764cee8..db7990825693294ddaaa4fe8add83797fe22515e 100644 (file)
@@ -24,7 +24,7 @@
 
 void *bt_ctf_object_get_ref(void *obj)
 {
-       if (unlikely(!obj)) {
+       if (G_UNLIKELY(!obj)) {
                goto end;
        }
 
@@ -36,7 +36,7 @@ end:
 
 void bt_ctf_object_put_ref(void *obj)
 {
-       if (unlikely(!obj)) {
+       if (G_UNLIKELY(!obj)) {
                return;
        }
 
This page took 0.023805 seconds and 4 git commands to generate.