1 Index: src/kernel/gmp/mp.c
2 ===================================================================
3 --- src/kernel/gmp/mp.c (revision 13151)
4 +++ src/kernel/gmp/mp.c (working copy)
6 /*We need PARI invmod renamed to invmod_pari*/
9 -static void *gmp_realloc(void *ptr, size_t old_size, size_t new_size) {
10 - (void)old_size; return (void *) pari_realloc(ptr,new_size);
13 -static void gmp_free(void *ptr, size_t old_size){
14 - (void)old_size; pari_free(ptr);
17 int pari_kernel_init(void)
19 - /* Use pari_malloc instead of malloc */
20 - mp_set_memory_functions((void *(*)(size_t)) pari_malloc, gmp_realloc, gmp_free);