summaryrefslogtreecommitdiff
path: root/mpf/urandom.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>1999-05-23 21:43:31 +0200
committerLinus Nordberg <linus@nordberg.se>1999-05-23 21:43:31 +0200
commitdd651c2134d1e7d00371a41be8ad1dc0f508e5d4 (patch)
treeffa55cadbf7e42d37f95fec8b9fcc82717666859 /mpf/urandom.c
parent20eec234ea3ff94d0e4f4e509be376b9565d2990 (diff)
downloadgmp-dd651c2134d1e7d00371a41be8ad1dc0f508e5d4.tar.gz
The `gmp_rand_state' is now an array with one element rather than a pointer to a struct.
Add (partial) documentation for random functions.
Diffstat (limited to 'mpf/urandom.c')
-rw-r--r--mpf/urandom.c4
1 files changed, 2 insertions, 2 deletions
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;