#ifndef _CTF_AST_H
#define _CTF_AST_H
+#include <glib.h>
#include <stdint.h>
#include <stdio.h>
-#include <glib.h>
-#include "common/list.h"
+
#include <babeltrace2/babeltrace.h>
-#include "common/macros.h"
+
#include "common/assert.h"
+#include "common/list.h"
-#include "decoder.hpp"
#include "ctf-meta.hpp"
+#include "decoder.hpp"
// the parameter name (of the reentrant 'yyparse' function)
// data is a pointer to a 'SParserParam' structure
}
#ifndef BT_COMP_LOG_CUR_LVL
-#define BT_AST_LOG_LEVEL_UNUSED_ATTR __attribute__((unused))
+# define BT_AST_LOG_LEVEL_UNUSED_ATTR __attribute__((unused))
#else
-#define BT_AST_LOG_LEVEL_UNUSED_ATTR
+# define BT_AST_LOG_LEVEL_UNUSED_ATTR
#endif
static inline int ctf_ast_get_unary_uuid(struct bt_list_head *head, bt_uuid_t uuid,
- int log_level BT_AST_LOG_LEVEL_UNUSED_ATTR,
- bt_self_component *self_comp BT_AST_LOG_LEVEL_UNUSED_ATTR)
+ int log_level BT_AST_LOG_LEVEL_UNUSED_ATTR,
+ bt_self_component *self_comp BT_AST_LOG_LEVEL_UNUSED_ATTR)
{
int i = 0;
int ret = 0;