summaryrefslogtreecommitdiffstats
path: root/src/common/common_init.h
diff options
context:
space:
mode:
authorYingxin <yingxin.cheng@intel.com>2018-10-17 17:12:45 +0200
committerYingxin <yingxin.cheng@intel.com>2018-10-17 17:12:45 +0200
commite304deac65c468d3b2b30c3086a1cd237833a56f (patch)
treeac187fe5823d365920439353669ec5730e3ebefb /src/common/common_init.h
parentMerge PR #24578 into master (diff)
downloadceph-e304deac65c468d3b2b30c3086a1cd237833a56f.tar.xz
ceph-e304deac65c468d3b2b30c3086a1cd237833a56f.zip
crimson/net: fix compile errors
test_alien_echo.cc is using common_init_finish, but it is not available if defined WITH_SEASTAR. Dispatcher::ms_verify_authorizer() is removed by PR#24095. Signed-off-by: Yingxin <yingxin.cheng@intel.com>
Diffstat (limited to 'src/common/common_init.h')
-rw-r--r--src/common/common_init.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/common_init.h b/src/common/common_init.h
index 5a19d44ca92..a2c3dd84fd6 100644
--- a/src/common/common_init.h
+++ b/src/common/common_init.h
@@ -69,7 +69,6 @@ CephContext *common_preinit(const CephInitParameters &iparams,
void complain_about_parse_errors(CephContext *cct,
std::deque<std::string> *parse_errors);
-#ifndef WITH_SEASTAR
/* This function is called after you have done your last
* fork. When you make this call, the system will initialize everything that
* cannot be initialized before a fork.
@@ -83,6 +82,5 @@ void complain_about_parse_errors(CephContext *cct,
* the Ceph libraries would be destroyed by a fork().
*/
void common_init_finish(CephContext *cct);
-#endif // #ifndef WITH_SEASTAR
#endif