comparison src/gmalloc.c @ 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 2bb28b957639
children 059caeb1f502
comparison
equal deleted inserted replaced
81499:2b9a3f7e51f0 81500:55e8330e329d
371 /* How to really get more memory. */ 371 /* How to really get more memory. */
372 #if defined(CYGWIN) 372 #if defined(CYGWIN)
373 extern __ptr_t bss_sbrk PP ((ptrdiff_t __size)); 373 extern __ptr_t bss_sbrk PP ((ptrdiff_t __size));
374 extern int bss_sbrk_did_unexec; 374 extern int bss_sbrk_did_unexec;
375 #endif 375 #endif
376 __ptr_t (*__morecore) PP ((ptrdiff_t __size)) = __default_morecore; 376 __ptr_t (*__morecore) PP ((__malloc_ptrdiff_t __size)) = __default_morecore;
377 377
378 /* Debugging hook for `malloc'. */ 378 /* Debugging hook for `malloc'. */
379 __ptr_t (*__malloc_hook) PP ((__malloc_size_t __size)); 379 __ptr_t (*__malloc_hook) PP ((__malloc_size_t __size));
380 380
381 /* Pointer to the base of the first block. */ 381 /* Pointer to the base of the first block. */