[Tarantool-patches] [PATCH 1/6] box: drop inline from box_cfg_xc
Cyrill Gorcunov
gorcunov at gmail.com
Thu Jun 18 01:03:30 MSK 2020
There is serious "inline disease" in the code:
it spread left and right without a serious reason.
The box_cfg_xc function is a pretty big one and
doesn't require being inlined anyhow.
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
src/box/box.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/box/box.cc b/src/box/box.cc
index 96557651b..7c8b70b27 100644
--- a/src/box/box.cc
+++ b/src/box/box.cc
@@ -2373,7 +2373,7 @@ box_is_configured(void)
return is_box_configured;
}
-static inline void
+static void
box_cfg_xc(void)
{
/* Join the cord interconnect as "tx" endpoint. */
--
2.26.2
More information about the Tarantool-patches
mailing list