projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b74bceb
)
Re: wrong prototype for sbrk [PATCH]
author
Andy Dougherty
<doughera@lafayette.edu>
Wed, 11 Feb 1998 15:37:31 +0000
(10:37 -0500)
committer
Malcolm Beattie
<mbeattie@sable.ox.ac.uk>
Thu, 12 Feb 1998 16:40:34 +0000
(16:40 +0000)
p4raw-id: //depot/perl@509
malloc.c
patch
|
blob
|
history
diff --git
a/malloc.c
b/malloc.c
index
6b2275c
..
cc1e376
100644
(file)
--- 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