From 3cacba85d91d453b8dccf787bb615db179996c4f Mon Sep 17 00:00:00 2001 From: Sam Steingold Date: Wed, 20 Jun 2007 12:18:47 +0000 Subject: [PATCH] (__morecore): Fix the declaration to comply with the definition. --- src/ChangeLog | 5 +++++ src/gmalloc.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 0990941cdf2..f4dd94e8af0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 --git a/src/gmalloc.c b/src/gmalloc.c index 50535d4940c..76845828d75 100644 --- a/src/gmalloc.c +++ b/src/gmalloc.c @@ -373,7 +373,7 @@ Fifth Floor, Boston, MA 02110-1301, USA. 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)); -- 2.39.2