From: Andy Dougherty Date: Wed, 11 Feb 1998 15:37:31 +0000 (-0500) Subject: Re: wrong prototype for sbrk [PATCH] X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=520829263057216902b1b8558c35d1e602755985;p=p5sagit%2Fp5-mst-13.2.git Re: wrong prototype for sbrk [PATCH] p4raw-id: //depot/perl@509 --- diff --git a/malloc.c b/malloc.c index 6b2275c..cc1e376 100644 --- a/malloc.c +++ b/malloc.c @@ -178,7 +178,7 @@ static u_short blk_shift[11 - 3] = {256, 128, 64, 32, static char *emergency_buffer; static MEM_SIZE emergency_buffer_size; -static char * +static Malloc_t emergency_sbrk(size) MEM_SIZE size; { @@ -237,14 +237,14 @@ static union overhead *nextf[NBUCKETS]; #ifdef USE_PERL_SBRK #define sbrk(a) Perl_sbrk(a) -char * Perl_sbrk _((int size)); +Malloc_t Perl_sbrk _((int size)); #else #ifdef DONT_DECLARE_STD #ifdef I_UNISTD #include #endif #else -extern char *sbrk(int); +extern Malloc_t sbrk(int); #endif #endif