]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon,auth,common: include necessary headers 23774/head
authorKefu Chai <kchai@redhat.com>
Tue, 28 Aug 2018 12:08:33 +0000 (20:08 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 29 Aug 2018 00:36:26 +0000 (08:36 +0800)
commit09d3f546b32cdf126a1246899a0b0a3eb25282d8
tree29933a8486e7840568d849a4cf083d69c0241b75
parenta8b55d034e8f365d679aa022e34bca43feb8d0e3
mon,auth,common: include necessary headers

we cannot assume the included header alway indirectly include the use types

in this case, CephContext is defined by ceph_context.h, and
g_ceph_context is declared by global_context.h. so we need to included
them respectively.

and remove unused headers.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/auth/Crypto.cc
src/auth/KeyRing.cc
src/auth/cephx/CephxClientHandler.cc
src/auth/cephx/CephxProtocol.cc
src/common/Cond.h
src/common/ConfUtils.cc
src/common/SloppyCRCMap.cc
src/common/SloppyCRCMap.h
src/include/str_list.h
src/mon/Session.h