bloom: use bool
[fio.git] / lib / bloom.h
index 127ed9b77fb2100e692291f2dc0a155a23687617..329fd36ab77b21f4a75e0af31e92ea85294b0992 100644 (file)
@@ -2,11 +2,12 @@
 #define FIO_BLOOM_H
 
 #include <inttypes.h>
+#include "../lib/types.h"
 
 struct bloom;
 
 struct bloom *bloom_new(uint64_t entries);
 void bloom_free(struct bloom *b);
-int bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords);
+bool bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords);
 
 #endif