diff options
Diffstat (limited to 'src/common/mt_rand.c')
-rw-r--r-- | src/common/mt_rand.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/mt_rand.c b/src/common/mt_rand.c index fc9a9ec..ab733ae 100644 --- a/src/common/mt_rand.c +++ b/src/common/mt_rand.c @@ -108,12 +108,3 @@ unsigned long mt_random(void) y ^= (y << 15) & 0xEFC60000U; return(y ^ (y >> 18)); } - -int mt_rand(void) { - unsigned long r = mt_random(); - while (r >> 16) - r = (r & 0xFFFF) + (r >> 16); - - return(r); -} - |