=================================================================== RCS file: /home/cvs/OpenXM_contrib/gmp/mpbsd/Attic/itom.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/mpbsd/Attic/itom.c 2000/09/09 14:13:16 1.1.1.2 +++ OpenXM_contrib/gmp/mpbsd/Attic/itom.c 2003/08/25 16:06:36 1.1.1.3 @@ -1,6 +1,6 @@ /* itom -- BSD compatible allocate and initiate a MINT. -Copyright (C) 1991, 1994, 1995, 2000 Free Software Foundation, Inc. +Copyright 1991, 1994, 1995, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -24,19 +24,14 @@ MA 02111-1307, USA. */ #include "gmp-impl.h" MINT * -#if __STDC__ itom (signed short int n) -#else -itom (n) - short int n; -#endif { MINT *x; mp_ptr xp; - x = (MINT *) (*_mp_allocate_func) (sizeof (MINT)); + x = (MINT *) (*__gmp_allocate_func) (sizeof (MINT)); x->_mp_alloc = 1; - x->_mp_d = xp = (mp_ptr) (*_mp_allocate_func) (BYTES_PER_MP_LIMB); + x->_mp_d = xp = (mp_ptr) (*__gmp_allocate_func) (BYTES_PER_MP_LIMB); if (n > 0) { x->_mp_size = 1;