summaryrefslogtreecommitdiff
path: root/randlc.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 /randlc.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 'randlc.c')
-rw-r--r--randlc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/randlc.c b/randlc.c
index 824e0d359..1b355b109 100644
--- a/randlc.c
+++ b/randlc.c
@@ -27,7 +27,7 @@ MA 02111-1307, USA. */
void
#if __STDC__
-gmp_rand_init_lc (gmp_rand_state *s,
+gmp_rand_init_lc (gmp_rand_state s,
unsigned long int size,
mpz_t seed,
mpz_t a,
@@ -35,7 +35,7 @@ gmp_rand_init_lc (gmp_rand_state *s,
mpz_t m)
#else
gmp_rand_init_lc (s, size, seed, a, c, m)
- gmp_rand_state *s;
+ gmp_rand_state s;
unsigned long int size;
mpz_t seed;
mpz_t a;