]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
include/rados/librados.h: avoid redefinition of rados_object_list_item
authorKefu Chai <kchai@redhat.com>
Fri, 28 Aug 2020 11:25:51 +0000 (19:25 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 1 Nov 2021 23:32:18 +0000 (07:32 +0800)
doxygen complains at seeing rados_object_list_item gets defined twice.
so let's fix it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 4c53a02ac56e4e87631262fffc711e2e009561d7)

src/include/rados/librados.h

index ae9e8110a29549bed62ce10a1be0b4306230caa2..2d5d34860b839a39a3857a872256f51d0c3a74bd 100644 (file)
@@ -241,7 +241,7 @@ typedef void * rados_object_list_cursor;
  * The item populated by rados_object_list in
  * the results array.
  */
-typedef struct rados_object_list_item {
+typedef struct {
 
   /// oid length
   size_t oid_length;