X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Fcommon%2Fmetadata%2Fast.hpp;h=a6a7e9f7b947db6c4e447ca9769dfcf7702d7aef;hb=c7e1be4b771715840b4bc3d635f72eeaf1d2e984;hp=037a1e6a0d9755bb66c0c37db1c7ecab2ebc2190;hpb=ecd7492f21a492b70569d5ecc1d3a808241b63f0;p=babeltrace.git diff --git a/src/plugins/ctf/common/metadata/ast.hpp b/src/plugins/ctf/common/metadata/ast.hpp index 037a1e6a..a6a7e9f7 100644 --- a/src/plugins/ctf/common/metadata/ast.hpp +++ b/src/plugins/ctf/common/metadata/ast.hpp @@ -7,16 +7,17 @@ #ifndef _CTF_AST_H #define _CTF_AST_H +#include #include #include -#include -#include "common/list.h" + #include -#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 @@ -415,14 +416,14 @@ error: } #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;