#include <babeltrace2-ctf-writer/event.h>
#include <babeltrace2-ctf-writer/object.h>
#include <babeltrace2-ctf-writer/utils.h>
-#include <babeltrace2/types.h>
#include "common/assert.h"
#include "compat/compiler.h"
}
static
-bool packet_context_field_type_is_valid(struct bt_ctf_trace_common *trace,
- struct bt_ctf_stream_class_common *stream_class,
+bool packet_context_field_type_is_valid(
+ struct bt_ctf_trace_common *trace __attribute__((unused)),
+ struct bt_ctf_stream_class_common *stream_class __attribute__((unused)),
struct bt_ctf_field_type_common *packet_context_type,
bool check_ts_begin_end_mapped)
{
}
static
-bool event_header_field_type_is_valid(struct bt_ctf_trace_common *trace,
+bool event_header_field_type_is_valid(
+ struct bt_ctf_trace_common *trace __attribute__((unused)),
struct bt_ctf_stream_class_common *stream_class,
struct bt_ctf_field_type_common *event_header_type)
{