[BACK]Return to randsd.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gmp

Diff for /OpenXM_contrib/gmp/Attic/randsd.c between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2000/09/09 14:12:16 version 1.1.1.2, 2003/08/25 16:06:00
Line 1 
Line 1 
 /* gmp_randseed (state, seed) -- Set initial seed SEED in random state  /* gmp_randseed (state, seed) -- Set initial seed SEED in random state
    STATE.     STATE.
   
 Copyright (C) 2000  Free Software Foundation, Inc.  Copyright 2000  Free Software Foundation, Inc.
   
 This file is part of the GNU MP Library.  This file is part of the GNU MP Library.
   
Line 24  MA 02111-1307, USA. */
Line 24  MA 02111-1307, USA. */
 #include "gmp-impl.h"  #include "gmp-impl.h"
   
 void  void
 #if __STDC__  
 gmp_randseed (gmp_randstate_t rstate,  gmp_randseed (gmp_randstate_t rstate,
               mpz_t seed)                mpz_srcptr seed)
 #else  
 gmp_randseed (rstate, seed)  
      gmp_randstate_t rstate;  
      mpz_t seed;  
 #endif  
 {  {
   mpz_set (rstate->seed, seed);    mpz_set (rstate->_mp_seed, seed);
 }  }

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>