]> 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>
Tue, 1 Sep 2020 01:53:17 +0000 (09:53 +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>
src/include/rados/librados.h

index a95a2508e2d017d9b902a41392f731bdad269c38..729fb7846e0acd36ae9b453b6a77b12db25a01ae 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;