]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg,common: do not include assert.h everywhere to clobber <assert.h>
authorKefu Chai <kchai@redhat.com>
Thu, 8 Jun 2017 03:21:11 +0000 (11:21 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 8 Jun 2017 03:46:26 +0000 (11:46 +0800)
commit28c83737345e9b9547a87105ab4d32b6f636bd4b
tree3b3f4f30e32bc8ad1ac04dc947a614f92a6ebc06
parent161ea38fd5ec6e7ed8d19aa7f2015966af6c9ad5
msg,common: do not include assert.h everywhere to clobber <assert.h>

* reverts c93daaf92b643a06a822558973d377733dbd9d85
* add "#include "include/assert.h" to where <cassert> or <assert.h> are
  included, or avoid including them if possible.

Signed-off-by: Kefu Chai <kchai@redhat.com>
23 files changed:
src/common/Finisher.cc
src/common/cmdparse.h
src/common/perf_histogram.h
src/compressor/Compressor.h
src/crush/CrushWrapper.h
src/include/denc.h
src/json_spirit/json_spirit_value.h
src/mds/PurgeQueue.cc
src/mds/RecoveryQueue.cc
src/mgr/ClusterState.cc
src/mgr/DaemonServer.cc
src/mgr/DaemonState.cc
src/mgr/Mgr.cc
src/mgr/MgrClient.cc
src/mon/MonClient.cc
src/msg/Message.cc
src/msg/Messenger.cc
src/msg/async/PosixStack.cc
src/msg/async/rdma/Infiniband.cc
src/msg/async/rdma/Infiniband.h
src/msg/async/rdma/RDMAConnectedSocketImpl.cc
src/msg/async/rdma/RDMAServerSocketImpl.cc
src/msg/async/rdma/RDMAStack.cc