lib: make public reference count functions have strict types
[babeltrace.git] / lib / trace-ir / clock-class.c
index fd82342ff9d689de3034e21c7c0333cc29ef8a92..45b47c1e139179b8791afebf1f49b5c213891885 100644 (file)
@@ -29,7 +29,6 @@
 #include <babeltrace/trace-ir/clock-class-internal.h>
 #include <babeltrace/trace-ir/clock-value-internal.h>
 #include <babeltrace/trace-ir/utils-internal.h>
-#include <babeltrace/object.h>
 #include <babeltrace/compiler-internal.h>
 #include <babeltrace/types.h>
 #include <babeltrace/compat/string-internal.h>
@@ -322,3 +321,13 @@ int bt_clock_class_cycles_to_ns_from_origin(
 
        return ret;
 }
+
+void bt_clock_class_get_ref(const struct bt_clock_class *clock_class)
+{
+       bt_object_get_ref(clock_class);
+}
+
+void bt_clock_class_put_ref(const struct bt_clock_class *clock_class)
+{
+       bt_object_put_ref(clock_class);
+}
This page took 0.025369 seconds and 4 git commands to generate.