summaryrefslogtreecommitdiff
path: root/tests/tabort_defalloc2.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-11-10 16:48:39 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-11-10 16:48:39 +0000
commit98f8f67a1dec5f97dcc9abeca4abcd8620395c27 (patch)
tree5ff4aea620c6ad4cb014347f8c81355942c4c383 /tests/tabort_defalloc2.c
parent121da734b167a88c0d626b70e81998be5d2fade7 (diff)
downloadmpfr-98f8f67a1dec5f97dcc9abeca4abcd8620395c27.tar.gz
Cleanup: In src/mpfr-gmp.h, exchanged
mpfr_allocate_func and *__gmp_allocate_func mpfr_reallocate_func and *__gmp_reallocate_func mpfr_free_func and *__gmp_free_func and in the code, replaced *__gmp_{allocate,reallocate,free}_func by mpfr_{allocate,reallocate,free}_func; updated TODO file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11820 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tabort_defalloc2.c')
-rw-r--r--tests/tabort_defalloc2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/tabort_defalloc2.c b/tests/tabort_defalloc2.c
index c4ac88144..df92b27a5 100644
--- a/tests/tabort_defalloc2.c
+++ b/tests/tabort_defalloc2.c
@@ -42,8 +42,8 @@ main (int argc, char **argv)
printf ("[tabort_defalloc2] Check for good handling of abort"
" in memory function.\n");
- ptr = (*__gmp_allocate_func) (128);
- ptr = (*__gmp_reallocate_func) (ptr, 128, (size_t) -1);
+ ptr = mpfr_allocate_func (128);
+ ptr = mpfr_reallocate_func (ptr, 128, (size_t) -1);
tests_end_mpfr ();
return -1; /* Should not be executed */
@@ -58,4 +58,3 @@ main (void)
}
#endif
-