Test fix: fixed allocation size used for variable length input
[babeltrace.git] / tests / lib / test_bt_ctf_field_type_validation.c
index 1448566cab5acad5841d43266b70734032a3088a..ab1f782fbab68201afc7a8f679d92b8002d5ca5f 100644 (file)
@@ -26,6 +26,7 @@
 #include <babeltrace/ctf-ir/stream-class.h>
 #include <babeltrace/ctf-ir/trace.h>
 #include <assert.h>
+#include <stdbool.h>
 #include <string.h>
 #include <stdarg.h>
 #include <glib.h>
@@ -2069,9 +2070,6 @@ void test_pass(void)
 
        trace = bt_ctf_trace_create();
        assert(trace);
-       ret = bt_ctf_trace_set_native_byte_order(trace,
-               BT_CTF_BYTE_ORDER_LITTLE_ENDIAN);
-       assert(ret == 0);
        sc = bt_ctf_stream_class_create("nice_piece_of_stream_class");
        assert(sc);
        ec = bt_ctf_event_class_create("oh_what_an_event_class");
This page took 0.023579 seconds and 4 git commands to generate.