summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-10-02 22:24:18 -0700
committerSage Weil <sage@inktank.com>2013-10-02 22:24:18 -0700
commit32ab78e8ba7336423e7bb21e5f5b3dc16afe67d1 (patch)
tree2e095fa6e3d40c9569fb42124e906011217c8919
parentd3ba8da597384516c85a9af928971a585843aeb4 (diff)
downloadceph-wip-rados-ints.tar.gz
librados: drop #include of int_types.h from headerwip-rados-ints
This is unnecessary, and breaks compilation for outside users. Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/include/rados/librados.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/rados/librados.h b/src/include/rados/librados.h
index a85ef3057bc..515663c2335 100644
--- a/src/include/rados/librados.h
+++ b/src/include/rados/librados.h
@@ -1,8 +1,6 @@
#ifndef CEPH_LIBRADOS_H
#define CEPH_LIBRADOS_H
-#include "include/int_types.h"
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -566,7 +564,7 @@ int rados_pool_create_with_auid(rados_t cluster, const char *pool_name, uint64_t
* @returns 0 on success, negative error code on failure
*/
int rados_pool_create_with_crush_rule(rados_t cluster, const char *pool_name,
- __u8 crush_rule_num);
+ uint8_t crush_rule_num);
/**
* Create a pool with a specific CRUSH rule and auid
@@ -581,7 +579,7 @@ int rados_pool_create_with_crush_rule(rados_t cluster, const char *pool_name,
* @returns 0 on success, negative error code on failure
*/
int rados_pool_create_with_all(rados_t cluster, const char *pool_name, uint64_t auid,
- __u8 crush_rule_num);
+ uint8_t crush_rule_num);
/**
* Delete a pool and all data inside it