summaryrefslogtreecommitdiff
path: root/mpq/init.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-10-21 22:36:48 +0200
committerKevin Ryde <user42@zip.com.au>2000-10-21 22:36:48 +0200
commit1cf82e91f12d15c42480287ffd8a0129b9115809 (patch)
treefcaf322e0548a64c9164126830268b7be8cf4fd1 /mpq/init.c
parent5053c1ea781951ac68dfd0576e01028ec8bbcbd0 (diff)
downloadgmp-1cf82e91f12d15c42480287ffd8a0129b9115809.tar.gz
* * (__gmp_allocate_func etc): Rename from _mp_allocate_func etc.
(__gmp_default_allocate etc): Rename from _mp_default_allocate etc.
Diffstat (limited to 'mpq/init.c')
-rw-r--r--mpq/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpq/init.c b/mpq/init.c
index faeb60ea7..aa2fce8dd 100644
--- a/mpq/init.c
+++ b/mpq/init.c
@@ -31,10 +31,10 @@ mpq_init (x)
#endif
{
x->_mp_num._mp_alloc = 1;
- x->_mp_num._mp_d = (mp_ptr) (*_mp_allocate_func) (BYTES_PER_MP_LIMB);
+ x->_mp_num._mp_d = (mp_ptr) (*__gmp_allocate_func) (BYTES_PER_MP_LIMB);
x->_mp_num._mp_size = 0;
x->_mp_den._mp_alloc = 1;
- x->_mp_den._mp_d = (mp_ptr) (*_mp_allocate_func) (BYTES_PER_MP_LIMB);
+ x->_mp_den._mp_d = (mp_ptr) (*__gmp_allocate_func) (BYTES_PER_MP_LIMB);
x->_mp_den._mp_d[0] = 1;
x->_mp_den._mp_size = 1;
}