changeset 78439:c4c2bb082d62

(__morecore): Fix the declaration to comply with the definition.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Tue, 07 Aug 2007 09:02:05 +0000
parents 0e453038c2da
children 4fa26746dfc9
files src/gmalloc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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));