diff options
author | Andy Dougherty <doughera@lafayette.edu> | 1998-02-11 10:37:31 -0500 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-02-12 16:40:34 +0000 |
commit | 520829263057216902b1b8558c35d1e602755985 (patch) | |
tree | 26457cca01c704c8e2110b26795642f1f15d034f /malloc.c | |
parent | b74bceb9cc5d8f31510279b2c34ea465fe21fd8f (diff) | |
download | perl-520829263057216902b1b8558c35d1e602755985.tar.gz |
Re: wrong prototype for sbrk [PATCH]
p4raw-id: //depot/perl@509
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 <unistd.h> #endif #else -extern char *sbrk(int); +extern Malloc_t sbrk(int); #endif #endif |