Add `-internal` suffix to all internal header files
[babeltrace.git] / lib / ctf-ir / event-class.c
index 364448731e7daff31dbc998acad92cad4a10a5cd..0cef19353f1f972cc7fbb86d5f43c6bb93e12a16 100644 (file)
@@ -37,8 +37,8 @@
 #include <babeltrace/ctf-ir/utils.h>
 #include <babeltrace/ref.h>
 #include <babeltrace/ctf-ir/attributes-internal.h>
-#include <babeltrace/compiler.h>
-#include <babeltrace/endian.h>
+#include <babeltrace/compiler-internal.h>
+#include <babeltrace/endian-internal.h>
 #include <inttypes.h>
 
 static
@@ -365,7 +365,7 @@ int bt_ctf_event_class_set_payload_type(struct bt_ctf_event_class *event_class,
        }
 
        if (payload && bt_ctf_field_type_get_type_id(payload) !=
-                       BT_CTF_TYPE_ID_STRUCT) {
+                       BT_CTF_FIELD_TYPE_ID_STRUCT) {
                ret = -1;
                goto end;
        }
@@ -389,7 +389,7 @@ int bt_ctf_event_class_add_field(struct bt_ctf_event_class *event_class,
        }
 
        if (bt_ctf_field_type_get_type_id(event_class->fields) !=
-               BT_CTF_TYPE_ID_STRUCT) {
+               BT_CTF_FIELD_TYPE_ID_STRUCT) {
                ret = -1;
                goto end;
        }
@@ -411,7 +411,7 @@ int bt_ctf_event_class_get_field_count(
        }
 
        if (bt_ctf_field_type_get_type_id(event_class->fields) !=
-               BT_CTF_TYPE_ID_STRUCT) {
+               BT_CTF_FIELD_TYPE_ID_STRUCT) {
                ret = -1;
                goto end;
        }
@@ -433,7 +433,7 @@ int bt_ctf_event_class_get_field(struct bt_ctf_event_class *event_class,
        }
 
        if (bt_ctf_field_type_get_type_id(event_class->fields) !=
-               BT_CTF_TYPE_ID_STRUCT) {
+               BT_CTF_FIELD_TYPE_ID_STRUCT) {
                ret = -1;
                goto end;
        }
@@ -455,7 +455,7 @@ struct bt_ctf_field_type *bt_ctf_event_class_get_field_by_name(
        }
 
        if (bt_ctf_field_type_get_type_id(event_class->fields) !=
-               BT_CTF_TYPE_ID_STRUCT) {
+               BT_CTF_FIELD_TYPE_ID_STRUCT) {
                goto end;
        }
 
@@ -501,7 +501,7 @@ int bt_ctf_event_class_set_context_type(
        }
 
        if (context && bt_ctf_field_type_get_type_id(context) !=
-                       BT_CTF_TYPE_ID_STRUCT) {
+                       BT_CTF_FIELD_TYPE_ID_STRUCT) {
                ret = -1;
                goto end;
        }
This page took 0.024117 seconds and 4 git commands to generate.