From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Kirill Shcherbatov Subject: [PATCH v3 6/7] memtx: rename memtx_tree.c to memtx_tree_impl.h Date: Fri, 22 Feb 2019 18:42:31 +0300 Message-Id: <7829f71939aa369508e47f2a05c524a1fb947b7c.1550849496.git.kshcherbatov@tarantool.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: tarantool-patches@freelists.org, vdavydov.dev@gmail.com Cc: Kirill Shcherbatov List-ID: File meta_tree.c that implements the template class memtx_tree, renamed to memes_tree_impl.h due to the fact that the inclusion of code in header files is more common. Needed for #3961 --- src/box/memtx_tree_decl.c | 2 +- src/box/{memtx_tree.c => memtx_tree_impl.h} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/box/{memtx_tree.c => memtx_tree_impl.h} (100%) diff --git a/src/box/memtx_tree_decl.c b/src/box/memtx_tree_decl.c index dd7684d8e..82209eaab 100644 --- a/src/box/memtx_tree_decl.c +++ b/src/box/memtx_tree_decl.c @@ -62,7 +62,7 @@ struct memtx_basic_tree_key_data { #define MEMTX_TREE_IDENTICAL(elem_a_ptr, elem_b_ptr) \ ({*elem_a_ptr == *elem_b_ptr;}) -#include "memtx_tree.c" +#include "memtx_tree_impl.h" #undef memtx_tree_key_t #undef memtx_tree_elem_t diff --git a/src/box/memtx_tree.c b/src/box/memtx_tree_impl.h similarity index 100% rename from src/box/memtx_tree.c rename to src/box/memtx_tree_impl.h -- 2.20.1