mirror of
https://github.com/ceph/ceph
synced 2024-12-18 17:37:38 +00:00
[librados,libcephfs] Avoid redefinition of rados_t
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
This commit is contained in:
parent
b24e438b40
commit
bd3bb7060b
@ -208,7 +208,10 @@ int ceph_create(struct ceph_mount_info **cmount, const char * const id);
|
||||
int ceph_create_with_context(struct ceph_mount_info **cmount, struct CephContext *conf);
|
||||
|
||||
|
||||
#ifndef VOIDPTR_RADOS_T
|
||||
#define VOIDPTR_RADOS_T
|
||||
typedef void *rados_t;
|
||||
#endif // VOIDPTR_RADOS_T
|
||||
|
||||
/**
|
||||
* Create a mount handle from a rados_t, for using libcephfs in the
|
||||
|
@ -166,7 +166,10 @@ enum {
|
||||
* -- or to the same cluster with different users -- requires
|
||||
* different cluster handles.
|
||||
*/
|
||||
#ifndef VOIDPTR_RADOS_T
|
||||
#define VOIDPTR_RADOS_T
|
||||
typedef void *rados_t;
|
||||
#endif //VOIDPTR_RADOS_T
|
||||
|
||||
/**
|
||||
* @typedef rados_config_t
|
||||
|
Loading…
Reference in New Issue
Block a user