From: Kefu Chai Date: Mon, 14 Feb 2022 04:19:35 +0000 (+0800) Subject: include/rados/librados.h: drop duplicated function declaration X-Git-Tag: v18.0.0~1382^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3a1ef3fe365d271c550e6a9fe0c3d7f31cc98b99;p=ceph.git include/rados/librados.h: drop duplicated function declaration rados_mgr_command() has been declared in the very same header file with exactly the same function signature, so there is no need to repeat it. in this change, the duplicated declaration of rados_mgr_command() is dropped. the one with doxygen document is reserved. Signed-off-by: Kefu Chai --- diff --git a/src/include/rados/librados.h b/src/include/rados/librados.h index 31ef332403ce..8d130ba7c377 100644 --- a/src/include/rados/librados.h +++ b/src/include/rados/librados.h @@ -3996,12 +3996,6 @@ CEPH_RADOS_API int rados_pg_command(rados_t cluster, const char *pgstr, char **outbuf, size_t *outbuflen, char **outs, size_t *outslen); -CEPH_RADOS_API int rados_mgr_command(rados_t cluster, - const char **cmd, size_t cmdlen, - const char *inbuf, size_t inbuflen, - char **outbuf, size_t *outbuflen, - char **outs, size_t *outslen); - /* * This is not a doxygen comment leadin, because doxygen breaks on * a typedef with function params and returns, and I can't figure out