=================================================================== RCS file: /home/cvs/OpenXM_contrib/gmp/mpz/Attic/iset_d.c,v retrieving revision 1.1.1.2 retrieving revision 1.1.1.3 diff -u -p -r1.1.1.2 -r1.1.1.3 --- OpenXM_contrib/gmp/mpz/Attic/iset_d.c 2000/09/09 14:12:54 1.1.1.2 +++ OpenXM_contrib/gmp/mpz/Attic/iset_d.c 2003/08/25 16:06:33 1.1.1.3 @@ -1,7 +1,7 @@ /* mpz_init_set_d(integer, val) -- Initialize and assign INTEGER with a double value VAL. -Copyright (C) 1996 Free Software Foundation, Inc. +Copyright 1996, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -24,16 +24,10 @@ MA 02111-1307, USA. */ #include "gmp-impl.h" void -#if __STDC__ mpz_init_set_d (mpz_ptr dest, double val) -#else -mpz_init_set_d (dest, val) - mpz_ptr dest; - double val; -#endif { dest->_mp_alloc = 1; - dest->_mp_d = (mp_ptr) (*_mp_allocate_func) (BYTES_PER_MP_LIMB); + dest->_mp_d = (mp_ptr) (*__gmp_allocate_func) (BYTES_PER_MP_LIMB); dest->_mp_size = 0; mpz_set_d (dest, val); }