]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
include/rados/librados.h: drop duplicated function declaration 45011/head
authorKefu Chai <tchaikov@gmail.com>
Mon, 14 Feb 2022 04:19:35 +0000 (12:19 +0800)
committerKefu Chai <tchaikov@gmail.com>
Mon, 14 Feb 2022 04:19:51 +0000 (12:19 +0800)
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 <tchaikov@gmail.com>
src/include/rados/librados.h

index 31ef332403ce207a688dcb185cb9d53ae6a49f0b..8d130ba7c37738d6bdf55e2392a63cc2c20b3026 100644 (file)
@@ -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