]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
libcephfs: add missing declaration of ceph_getaddrs()
authorKefu Chai <kchai@redhat.com>
Tue, 14 Jan 2020 06:43:02 +0000 (14:43 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 14 Jan 2020 06:46:32 +0000 (14:46 +0800)
commit67fe2b36f1c8288e53cc90f1040b919cd184bdeb
tree1e57c773b8bd61960abf69e2387cf53bc4290885
parentb127d6d32e5f4dc5ed9104359e8ecb74046e4723
libcephfs: add missing declaration of ceph_getaddrs()

this function was added by df507cde8d. but the declaration was not added
to the header file.

this change silences following warning:

build/src/pybind/cephfs/pyrex/cephfs.c:6647:25: warning: implicit declaration of function 'ceph_getaddrs'; did you mean 'ceph_getxattr'? [-Wimplicit-function-declaration]
           __pyx_v_ret = ceph_getaddrs(__pyx_v_self->cluster, (&__pyx_v_addrs));
                         ^~~~~~~~~~~~~
                         ceph_getxattr

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/include/cephfs/libcephfs.h