From dd651c2134d1e7d00371a41be8ad1dc0f508e5d4 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Sun, 23 May 1999 21:43:31 +0200 Subject: The `gmp_rand_state' is now an array with one element rather than a pointer to a struct. Add (partial) documentation for random functions. --- mpf/urandom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mpf/urandom.c') diff --git a/mpf/urandom.c b/mpf/urandom.c index f4ed8f65e..6dd89038e 100644 --- a/mpf/urandom.c +++ b/mpf/urandom.c @@ -29,11 +29,11 @@ number 0 <= X < 1. See file mpz/urandom.c for algorithms used. */ void #if __STDC__ -mpf_urandomb (mpf_t rop, gmp_rand_state *s) +mpf_urandomb (mpf_t rop, gmp_rand_state s) #else mpf_urandomb (rop, s) mpf_t rop; - gmp_rand_state *s; + gmp_rand_state s; #endif { mp_ptr rp; -- cgit v1.2.1