summaryrefslogtreecommitdiff
path: root/randsdui.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2000-04-10 13:17:31 +0200
committerLinus Nordberg <linus@nordberg.se>2000-04-10 13:17:31 +0200
commitca6be053cd0d759ef5a8cff53f78f749fe4330b7 (patch)
tree2a2ef490a831ad8ba80abf49ac522034691a6578 /randsdui.c
parent6610cbc458ba35599bc8d1f18df001ea409d3f1f (diff)
downloadgmp-ca6be053cd0d759ef5a8cff53f78f749fe4330b7.tar.gz
Rename most of the random number functions, structs and some of the struct members.
Diffstat (limited to 'randsdui.c')
-rw-r--r--randsdui.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/randsdui.c b/randsdui.c
index 788ff25fb..02e4045ea 100644
--- a/randsdui.c
+++ b/randsdui.c
@@ -1,4 +1,4 @@
-/* gmp_rand_seed_ui (state, seed) -- Set initial seed SEED in random
+/* gmp_randseed_ui (state, seed) -- Set initial seed SEED in random
state STATE.
Copyright (C) 2000 Free Software Foundation, Inc.
@@ -25,13 +25,13 @@ MA 02111-1307, USA. */
void
#if __STDC__
-gmp_rand_seed_ui (gmp_rand_state s,
+gmp_randseed_ui (gmp_randstate_t rstate,
unsigned long int seed)
#else
-gmp_rand_seed_ui (s, seed)
- gmp_rand_state s;
+gmp_randseed_ui (rstate, seed)
+ gmp_randstate_t rstate;
mpz_t seed;
#endif
{
- mpz_set_ui (s->seed, seed);
+ mpz_set_ui (rstate->seed, seed);
}