diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-03-08 01:16:51 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-03-08 01:16:51 +0100 |
commit | bc01baacb797c92394a6f8dca5b580b39ac08f02 (patch) | |
tree | b289dbe2466a556518b29b5438cc0cd1ff0e6773 /tune/speed.c | |
parent | 7d2300e885d9ec9eb88f43a83e45e2027db5542e (diff) | |
download | gmp-bc01baacb797c92394a6f8dca5b580b39ac08f02.tar.gz |
* tune/speed.c, tests/devel/try.c: Seed RANDS, not srandom etc.
Diffstat (limited to 'tune/speed.c')
-rw-r--r-- | tune/speed.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tune/speed.c b/tune/speed.c index 37e1febf4..8cd7d14a3 100644 --- a/tune/speed.c +++ b/tune/speed.c @@ -1036,13 +1036,7 @@ main (int argc, char *argv[]) exit (1); } - srand (option_seed); -#if HAVE_SRAND48 - srand48 (option_seed); -#endif -#if HAVE_SRANDOM - srandom (option_seed); -#endif + gmp_randseed_ui (RANDS, option_seed); choice = (struct choice_t *) (*__gmp_allocate_func) ((argc - optind) * sizeof(choice[0])); |