summaryrefslogtreecommitdiff
path: root/mp_set_fns.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 /mp_set_fns.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 'mp_set_fns.c')
-rw-r--r--mp_set_fns.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mp_set_fns.c b/mp_set_fns.c
index c070644e0..2744047bf 100644
--- a/mp_set_fns.c
+++ b/mp_set_fns.c
@@ -36,13 +36,13 @@ mp_set_memory_functions (alloc_func, realloc_func, free_func)
#endif
{
if (alloc_func == 0)
- alloc_func = _mp_default_allocate;
+ alloc_func = __gmp_default_allocate;
if (realloc_func == 0)
- realloc_func = _mp_default_reallocate;
+ realloc_func = __gmp_default_reallocate;
if (free_func == 0)
- free_func = _mp_default_free;
+ free_func = __gmp_default_free;
- _mp_allocate_func = alloc_func;
- _mp_reallocate_func = realloc_func;
- _mp_free_func = free_func;
+ __gmp_allocate_func = alloc_func;
+ __gmp_reallocate_func = realloc_func;
+ __gmp_free_func = free_func;
}