summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>1998-02-11 10:37:31 -0500
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-02-12 16:40:34 +0000
commit520829263057216902b1b8558c35d1e602755985 (patch)
tree26457cca01c704c8e2110b26795642f1f15d034f /malloc.c
parentb74bceb9cc5d8f31510279b2c34ea465fe21fd8f (diff)
downloadperl-520829263057216902b1b8558c35d1e602755985.tar.gz
Re: wrong prototype for sbrk [PATCH]
p4raw-id: //depot/perl@509
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/malloc.c b/malloc.c
index 6b2275c8dd..cc1e376563 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 <unistd.h>
#endif
#else
-extern char *sbrk(int);
+extern Malloc_t sbrk(int);
#endif
#endif