=================================================================== RCS file: /home/cvs/OpenXM_contrib/gmp/Attic/randsdui.c,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.2 diff -u -p -r1.1.1.1 -r1.1.1.2 --- OpenXM_contrib/gmp/Attic/randsdui.c 2000/09/09 14:12:16 1.1.1.1 +++ OpenXM_contrib/gmp/Attic/randsdui.c 2003/08/25 16:06:00 1.1.1.2 @@ -1,7 +1,7 @@ /* gmp_randseed_ui (state, seed) -- Set initial seed SEED in random state STATE. -Copyright (C) 2000 Free Software Foundation, Inc. +Copyright 2000 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -24,14 +24,8 @@ MA 02111-1307, USA. */ #include "gmp-impl.h" void -#if __STDC__ gmp_randseed_ui (gmp_randstate_t rstate, - unsigned long int seed) -#else -gmp_randseed_ui (rstate, seed) - gmp_randstate_t rstate; - mpz_t seed; -#endif + unsigned long int seed) { - mpz_set_ui (rstate->seed, seed); + mpz_set_ui (rstate->_mp_seed, seed); }