Do not use `bool` type; use new `bt_bool` instead
[babeltrace.git] / include / babeltrace / graph / clock-class-priority-map-internal.h
index 049421458c0d7b64d551adff169e157b31a316f1..89ba1c9dfc620bdfd8ac41697499fb4431679021 100644 (file)
 
 #include <stdint.h>
 #include <stddef.h>
-#include <stdbool.h>
 #include <assert.h>
 #include <babeltrace/ctf-ir/clock-class.h>
 #include <babeltrace/object-internal.h>
+#include <babeltrace/types.h>
 #include <glib.h>
 
 struct bt_clock_class_priority_map {
@@ -46,7 +46,7 @@ struct bt_clock_class_priority_map {
        /* Clock class (weak) with the currently highest priority */
        struct bt_ctf_clock_class *highest_prio_cc;
 
-       bool frozen;
+       bt_bool frozen;
 };
 
 static inline
@@ -54,7 +54,7 @@ void bt_clock_class_priority_map_freeze(
                struct bt_clock_class_priority_map *cc_prio_map)
 {
        assert(cc_prio_map);
-       cc_prio_map->frozen = true;
+       cc_prio_map->frozen = BT_TRUE;
 }
 
 #endif /* BABELTRACE_GRAPH_CLOCK_CLASS_PRIORITY_MAP_INTERNAL_H */
This page took 0.025263 seconds and 4 git commands to generate.