summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2016-03-10 12:12:09 -0700
committerJens Axboe <axboe@fb.com>2016-03-10 12:12:09 -0700
commit5f2f35697b1559cc4fff47c7c94cb983e6f2a460 (patch)
tree5d8d64c9991edc164bb43cca628ee0bf7b92e5c9
parent36dd3379227a214a7caf2dc9ab7f818a8e266796 (diff)
downloadfio-5f2f35697b1559cc4fff47c7c94cb983e6f2a460.tar.gz
lib/rand: make __init_randX() static
Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r--lib/rand.c4
1 files 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;