Do not use `bool` type; use new `bt_bool` instead
[babeltrace.git] / lib / ctf-ir / event-class.c
index 8dc4619de4a338d924b486c3907d284bb9f7e4a5..49cca8c6ccc5a64a2b3dca8e257693a60164c2f2 100644 (file)
@@ -39,6 +39,7 @@
 #include <babeltrace/ctf-ir/attributes-internal.h>
 #include <babeltrace/compiler-internal.h>
 #include <babeltrace/endian-internal.h>
+#include <babeltrace/types.h>
 #include <inttypes.h>
 
 static
@@ -656,7 +657,7 @@ int bt_ctf_event_class_serialize(struct bt_ctf_event_class *event_class,
 
                default:
                        /* should never happen */
-                       assert(false);
+                       assert(BT_FALSE);
                        break;
                }
 
This page took 0.023184 seconds and 4 git commands to generate.