From: Sam Steingold Date: Wed, 20 Jun 2007 12:18:47 +0000 (+0000) Subject: (__morecore): Fix the declaration to comply with the definition. X-Git-Tag: emacs-pretest-23.0.90~12199 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3cacba85d91d453b8dccf787bb615db179996c4f;p=emacs.git (__morecore): Fix the declaration to comply with the definition. --- 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));