summaryrefslogtreecommitdiff
path: root/lib/zipf.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zipf.h')
-rw-r--r--lib/zipf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zipf.h b/lib/zipf.h
index a23afe5e..dbcaffb2 100644
--- a/lib/zipf.h
+++ b/lib/zipf.h
@@ -14,10 +14,10 @@ struct zipf_state {
unsigned long rand_off;
};
-void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta);
+void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta, unsigned int seed);
unsigned long long zipf_next(struct zipf_state *zs);
-void pareto_init(struct zipf_state *zs, unsigned long nranges, double h);
+void pareto_init(struct zipf_state *zs, unsigned long nranges, double h, unsigned int seed);
unsigned long long pareto_next(struct zipf_state *zs);
#endif