lib: remove clock class priority map, use default clock value
[babeltrace.git] / include / babeltrace / ctf-ir / event-class-internal.h
index 316408d84ae1592633dd9b6306d4f1c3c8107229..404bcd75fb1cab1034881e80019a2b8df5fb3a17 100644 (file)
@@ -84,7 +84,7 @@ struct bt_stream_class_common *bt_event_class_common_borrow_stream_class(
                struct bt_event_class_common *event_class)
 {
        BT_ASSERT(event_class);
-       return (void *) bt_object_borrow_parent(event_class);
+       return (void *) bt_object_borrow_parent(&event_class->base);
 }
 
 typedef struct bt_field_type_common *(*bt_field_type_structure_create_func)();
@@ -102,10 +102,6 @@ int bt_event_class_common_validate_single_clock_class(
                struct bt_event_class_common *event_class,
                struct bt_clock_class **expected_clock_class);
 
-BT_HIDDEN
-int bt_event_class_update_event_pool_clock_values(
-               struct bt_event_class *event_class);
-
 static inline
 const char *bt_event_class_common_get_name(
                struct bt_event_class_common *event_class)
This page took 0.024651 seconds and 4 git commands to generate.