# HG changeset patch # User Sam Steingold # Date 1182341927 0 # Node ID 55e8330e329d11f849745331f2abfd5fbd2aa09c # Parent 2b9a3f7e51f02405e22172b3169da036efa5f90a (__morecore): Fix the declaration to comply with the definition. diff -r 2b9a3f7e51f0 -r 55e8330e329d src/ChangeLog --- a/src/ChangeLog Wed Jun 20 10:12:44 2007 +0000 +++ b/src/ChangeLog Wed Jun 20 12:18:47 2007 +0000 @@ -1,3 +1,8 @@ +2007-06-18 Sam Steingold + + * gmalloc.c (__morecore): Fix the declaration to comply with the + definition. + 2007-06-20 Juanma Barranquero * w32term.c (w32_delete_display): Remove leftover declaration. diff -r 2b9a3f7e51f0 -r 55e8330e329d src/gmalloc.c --- a/src/gmalloc.c Wed Jun 20 10:12:44 2007 +0000 +++ b/src/gmalloc.c Wed Jun 20 12:18:47 2007 +0000 @@ -373,7 +373,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));