#include "btr.h"
-#define PRINT_ERR_STREAM (btr ? btr->err_stream : stderr)
-#define PRINT_PREFIX "ctf-btr"
-#include "../print.h"
-
#define DIV8(_x) ((_x) >> 3)
#define BYTES_TO_BITS(_x) ((_x) * 8)
#define BITS_TO_BYTES_FLOOR(_x) DIV8(_x)
/* Bisit stack */
struct stack *stack;
- /* Error stream */
- FILE *err_stream;
-
/* Current basic field type */
struct bt_ctf_field_type *cur_basic_field_type;
return status;
}
-struct bt_ctf_btr *bt_ctf_btr_create(struct bt_ctf_btr_cbs cbs, void *data,
- FILE *err_stream)
+struct bt_ctf_btr *bt_ctf_btr_create(struct bt_ctf_btr_cbs cbs, void *data)
{
struct bt_ctf_btr *btr;
btr->state = BTR_STATE_NEXT_FIELD;
btr->user.cbs = cbs;
btr->user.data = data;
- btr->err_stream = err_stream;
BT_LOGD("Created BTR: addr=%p", btr);
end: