Fix -Wmissing-prototypes/-Wmissing-declarations warnings
[babeltrace.git] / src / ctf-writer / object.c
index 616fcf3658b3a89f1549724911655cab9764cee8..12111f74379a3f13d5c54adbcb80062cfd68f86d 100644 (file)
  */
 
 #include "object.h"
+#include <babeltrace2-ctf-writer/object.h>
 
 void *bt_ctf_object_get_ref(void *obj)
 {
-       if (unlikely(!obj)) {
+       if (G_UNLIKELY(!obj)) {
                goto end;
        }
 
@@ -36,7 +37,7 @@ end:
 
 void bt_ctf_object_put_ref(void *obj)
 {
-       if (unlikely(!obj)) {
+       if (G_UNLIKELY(!obj)) {
                return;
        }
 
This page took 0.022836 seconds and 4 git commands to generate.