From 3a1ef3fe365d271c550e6a9fe0c3d7f31cc98b99 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 14 Feb 2022 12:19:35 +0800 Subject: [PATCH] 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 --- src/include/rados/librados.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/include/rados/librados.h b/src/include/rados/librados.h index 31ef332403ce2..8d130ba7c3773 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 -- 2.39.5