# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1186477325 0 # Node ID c4c2bb082d62089dd2f86e2001ad4123ad45e033 # Parent 0e453038c2daa7f87ad50869ec78c6ec5f9806c5 (__morecore): Fix the declaration to comply with the definition. diff -r 0e453038c2da -r c4c2bb082d62 src/gmalloc.c --- a/src/gmalloc.c Tue Aug 07 08:58:22 2007 +0000 +++ b/src/gmalloc.c Tue Aug 07 09:02:05 2007 +0000 @@ -402,7 +402,7 @@ extern __ptr_t bss_sbrk PP ((ptrdiff_t __size)); extern int bss_sbrk_did_unexec; #endif -__ptr_t (*__morecore) PP ((ptrdiff_t __size)) = __default_morecore; +__ptr_t (*__morecore) PP ((__malloc_ptrdiff_t __size)) = __default_morecore; /* Debugging hook for `malloc'. */ __ptr_t (*__malloc_hook) PP ((__malloc_size_t __size));