From f50f26325f8df7e076a0ffd2196eab1c36ff07ae Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sun, 13 Oct 2019 08:52:59 +0100 Subject: util/rand_xor: make it clear that {,s_}rand_xorshift128plus take *exactly 2* uint64_t Signed-off-by: Eric Engestrom Reviewed-by: Emmanuel Gil Peyrot Part-of: --- src/util/rand_xor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util/rand_xor.h') diff --git a/src/util/rand_xor.h b/src/util/rand_xor.h index 532d549bcda..b55598f228a 100644 --- a/src/util/rand_xor.h +++ b/src/util/rand_xor.h @@ -29,9 +29,9 @@ #include uint64_t -rand_xorshift128plus(uint64_t *seed); +rand_xorshift128plus(uint64_t seed[2]); void -s_rand_xorshift128plus(uint64_t *seed, bool randomised_seed); +s_rand_xorshift128plus(uint64_t seed[2], bool randomised_seed); #endif /* RAND_XOR_H */ -- cgit v1.2.3