changeset 81500:55e8330e329d

(__morecore): Fix the declaration to comply with the definition.
author Sam Steingold <sds@gnu.org>
date Wed, 20 Jun 2007 12:18:47 +0000
parents 2b9a3f7e51f0
children 801606fb518b
files src/ChangeLog src/gmalloc.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <sds@gnu.org>
+
+	* gmalloc.c (__morecore): Fix the declaration to comply with the
+	definition.
+
 2007-06-20  Juanma Barranquero  <lekktu@gmail.com>
 
 	* w32term.c (w32_delete_display): Remove leftover declaration.
--- 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));