lib/rand: make __init_randX() static
authorJens Axboe <axboe@fb.com>
Thu, 10 Mar 2016 19:12:09 +0000 (12:12 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 10 Mar 2016 19:12:09 +0000 (12:12 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
lib/rand.c

index 12916cf00ddfd2b6d6ec31e82258300836cb3537..9c3e0d6a39e181149ad04ac5c36f7220d115de95 100644 (file)
@@ -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;