comparison src/gmalloc.c @ 78439:c4c2bb082d62

(__morecore): Fix the declaration to comply with the definition.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Tue, 07 Aug 2007 09:02:05 +0000
parents 77430fdfce38
children 06446146e55e
comparison
equal deleted inserted replaced
78438:0e453038c2da 78439:c4c2bb082d62
400 /* How to really get more memory. */ 400 /* How to really get more memory. */
401 #if defined(CYGWIN) 401 #if defined(CYGWIN)
402 extern __ptr_t bss_sbrk PP ((ptrdiff_t __size)); 402 extern __ptr_t bss_sbrk PP ((ptrdiff_t __size));
403 extern int bss_sbrk_did_unexec; 403 extern int bss_sbrk_did_unexec;
404 #endif 404 #endif
405 __ptr_t (*__morecore) PP ((ptrdiff_t __size)) = __default_morecore; 405 __ptr_t (*__morecore) PP ((__malloc_ptrdiff_t __size)) = __default_morecore;
406 406
407 /* Debugging hook for `malloc'. */ 407 /* Debugging hook for `malloc'. */
408 __ptr_t (*__malloc_hook) PP ((__malloc_size_t __size)); 408 __ptr_t (*__malloc_hook) PP ((__malloc_size_t __size));
409 409
410 /* Pointer to the base of the first block. */ 410 /* Pointer to the base of the first block. */