summaryrefslogtreecommitdiff
path: root/randsd.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-09-24 23:29:20 +0200
committerKevin Ryde <user42@zip.com.au>2000-09-24 23:29:20 +0200
commite7b4bfe41639f04a47aecd52efde7c07152bce98 (patch)
tree4a48e424216c5f8425f3cd716035d461320b23ea /randsd.c
parent1bb16140821efd0b0c42e3208d5be8e260861545 (diff)
downloadgmp-e7b4bfe41639f04a47aecd52efde7c07152bce98.tar.gz
* randlc.c, randlc2x.c, randsd.c: Use mpz_srcptr for parameters.
Diffstat (limited to 'randsd.c')
-rw-r--r--randsd.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/randsd.c b/randsd.c
index 3bed14b57..7eaf34b35 100644
--- a/randsd.c
+++ b/randsd.c
@@ -24,14 +24,8 @@ MA 02111-1307, USA. */
#include "gmp-impl.h"
void
-#if __STDC__
gmp_randseed (gmp_randstate_t rstate,
- mpz_t seed)
-#else
-gmp_randseed (rstate, seed)
- gmp_randstate_t rstate;
- mpz_t seed;
-#endif
+ mpz_srcptr seed)
{
mpz_set (rstate->seed, seed);
}