zipf: cleanup
[fio.git] / lib / zipf.h
index 97a9b32fe6aeedc6b56b87d00545779b7f026d75..a23afe5e88457ffd7b8c7cda83b2d1b9ce6cbb28 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef FIO_ZIPF_H
 #define FIO_ZIPF_H
 
+#include <inttypes.h>
 #include "rand.h"
 
 struct zipf_state {
@@ -10,6 +11,7 @@ struct zipf_state {
        double zetan;
        double pareto_pow;
        struct frand_state rand;
+       unsigned long rand_off;
 };
 
 void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta);