Skip to content
Snippets Groups Projects
Commit 4e0729cb authored by Kirill Yukhin's avatar Kirill Yukhin
Browse files

Fix order of function attributes for RB tree in replication

rb_gen used incorrect order of function attributes: sttic
MAYBE_UNUSED, which caused fails while compiling w/ Clang.
Change order of mentioned attributes.
parent 9e30f895
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ replica_compare_by_uuid(const struct replica *a, const struct replica *b)
return tt_uuid_compare(&a->uuid, &b->uuid);
}
rb_gen(static MAYBE_UNUSED, replica_hash_, replica_hash_t,
rb_gen(MAYBE_UNUSED static, replica_hash_, replica_hash_t,
struct replica, in_hash, replica_compare_by_uuid);
#define replica_hash_foreach_safe(hash, item, next) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment