From 5f2f35697b1559cc4fff47c7c94cb983e6f2a460 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 10 Mar 2016 12:12:09 -0700 Subject: [PATCH] lib/rand: make __init_randX() static Signed-off-by: Jens Axboe --- lib/rand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rand.c b/lib/rand.c index 12916cf0..9c3e0d6a 100644 --- a/lib/rand.c +++ b/lib/rand.c @@ -46,7 +46,7 @@ static inline uint64_t __seed(uint64_t x, uint64_t m) return (x < m) ? x + m : x; } -void __init_rand32(struct taus88_state *state, unsigned int seed) +static void __init_rand32(struct taus88_state *state, unsigned int seed) { int cranks = 6; @@ -60,7 +60,7 @@ void __init_rand32(struct taus88_state *state, unsigned int seed) __rand32(state); } -void __init_rand64(struct taus258_state *state, uint64_t seed) +static void __init_rand64(struct taus258_state *state, uint64_t seed) { int cranks = 6; -- 2.25.1