Add `-internal` suffix to all internal header files
[babeltrace.git] / lib / ctf-ir / stream-class.c
index fbf81942946bfe34a1062901302060d73b5b4909..4fac746800a0646508cc3d14af2044d2c71be3a4 100644 (file)
@@ -41,9 +41,9 @@
 #include <babeltrace/ctf-writer/functor-internal.h>
 #include <babeltrace/ctf-ir/utils.h>
 #include <babeltrace/ref.h>
-#include <babeltrace/compiler.h>
-#include <babeltrace/align.h>
-#include <babeltrace/endian.h>
+#include <babeltrace/compiler-internal.h>
+#include <babeltrace/align-internal.h>
+#include <babeltrace/endian-internal.h>
 #include <inttypes.h>
 
 static
@@ -585,7 +585,7 @@ int bt_ctf_stream_class_set_packet_context_type(
 
        if (packet_context_type &&
                        bt_ctf_field_type_get_type_id(packet_context_type) !=
-                               BT_CTF_TYPE_ID_STRUCT) {
+                               BT_CTF_FIELD_TYPE_ID_STRUCT) {
                /* A packet context must be a structure. */
                ret = -1;
                goto end;
@@ -626,7 +626,7 @@ int bt_ctf_stream_class_set_event_header_type(
 
        if (event_header_type &&
                        bt_ctf_field_type_get_type_id(event_header_type) !=
-                               BT_CTF_TYPE_ID_STRUCT) {
+                               BT_CTF_FIELD_TYPE_ID_STRUCT) {
                /* An event header must be a structure. */
                ret = -1;
                goto end;
@@ -666,7 +666,7 @@ int bt_ctf_stream_class_set_event_context_type(
 
        if (event_context_type &&
                        bt_ctf_field_type_get_type_id(event_context_type) !=
-                               BT_CTF_TYPE_ID_STRUCT) {
+                               BT_CTF_FIELD_TYPE_ID_STRUCT) {
                /* A packet context must be a structure. */
                ret = -1;
                goto end;
This page took 0.023764 seconds and 4 git commands to generate.