summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafcol.lafayette.edu>1994-04-04 00:00:00 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1994-04-04 00:00:00 +0000
commit2304df62caa7d9be70e8b8bcdb454e139c9c103d (patch)
tree98a456ef0fbe59b1a02bfe68afa4a3d9afb4f21c /malloc.c
parent8990e3071044a96302560bbdb5706f3e74cf1bef (diff)
downloadperl-2304df62caa7d9be70e8b8bcdb454e139c9c103d.tar.gz
perl 5.0 alpha 8
[the last one taken from the September '94 InfoMagic CD; a similar style of cleanup as the previous commits was performed]
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/malloc.c b/malloc.c
index 41a5d7802d..c99e3580c7 100644
--- a/malloc.c
+++ b/malloc.c
@@ -121,7 +121,7 @@ botch(s)
#define ASSERT(p)
#endif
-MALLOCPTRTYPE *
+Malloc_t
malloc(nbytes)
register MEM_SIZE nbytes;
{
@@ -208,7 +208,7 @@ malloc(nbytes)
p->ov_rmagic = RMAGIC;
*((u_int *)((caddr_t)p + nbytes - RSLOP)) = RMAGIC;
#endif
- return ((MALLOCPTRTYPE *)(p + 1));
+ return ((Malloc_t)(p + 1));
}
/*
@@ -281,7 +281,7 @@ morecore(bucket)
void
free(mp)
- MALLOCPTRTYPE *mp;
+ Malloc_t mp;
{
register MEM_SIZE size;
register union overhead *op;
@@ -339,9 +339,9 @@ free(mp)
*/
int reall_srchlen = 4; /* 4 should be plenty, -1 =>'s whole list */
-MALLOCPTRTYPE *
+Malloc_t
realloc(mp, nbytes)
- MALLOCPTRTYPE *mp;
+ Malloc_t mp;
MEM_SIZE nbytes;
{
register MEM_SIZE onb;
@@ -438,7 +438,7 @@ realloc(mp, nbytes)
# endif
#endif
#endif /* safemalloc */
- return ((MALLOCPTRTYPE*)res);
+ return ((Malloc_t)res);
}
/*