]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common,mon: drop strict_sistrtoll()
authorKefu Chai <kchai@redhat.com>
Mon, 26 Jul 2021 07:07:48 +0000 (15:07 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 26 Jul 2021 12:12:17 +0000 (20:12 +0800)
commit5d22af9316b412d630befdfcae86686dc8f724d8
tree329359eceeec8f39ccfaf59588ee0909d480b63e
parent650a0c936300163344486e08226b3e4ae87fcf7f
common,mon: drop strict_sistrtoll()

strict_sistrtoll() is but an alias of strict_si_cast<uint64_t>(..),
let's just drop the former. there are way too many thin wrappers in
strtol.{h,cc}. they don't offer lots of benefit to us.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/strtol.cc
src/common/strtol.h
src/mon/OSDMonitor.cc
src/test/strtol.cc