]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/rados: silence GCC warning
authorKefu Chai <kchai@redhat.com>
Mon, 10 Dec 2018 07:57:30 +0000 (15:57 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 10 Dec 2018 07:57:31 +0000 (15:57 +0800)
commit4a9082d33be948bd386b0179fa2f2d28a95c9ce3
tree0dcffa93375f95331243f5d868d70c9f1c4191b6
parent1b8c1a14d0b5a25ba1ff94c48ecef9114c2ca955
pybind/rados: silence GCC warning

otherwise we will have following warnings:

[1/1] Cythonizing rados.pyx
warning: rados.pyx:91:4: 'rados_t' redeclared
warning: rados.pyx:92:4: 'rados_config_t' redeclared
warning: rados.pyx:93:4: 'rados_ioctx_t' redeclared

these types are already defined by librados.h, so no need to define them
again in rados.pyx .

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/rados/rados.pyx