3307dee5f3
compilation on Darwin.
22 lines
477 B
Text
22 lines
477 B
Text
$NetBSD: patch-ab,v 1.1 2002/11/22 20:54:36 schmonz Exp $
|
|
|
|
--- main.c.orig Fri Feb 11 03:11:52 2000
|
|
+++ main.c
|
|
@@ -62,7 +62,7 @@ void *
|
|
Alloc(unsigned int sz)
|
|
{
|
|
void * p;
|
|
- extern void * malloc(unsigned int);
|
|
+ extern void * malloc(size_t);
|
|
|
|
p = malloc(sz);
|
|
if (!p)
|
|
@@ -75,7 +75,7 @@ void *
|
|
ReAlloc(void * xp, unsigned int sz)
|
|
{
|
|
void * p;
|
|
- extern void * realloc(void *, unsigned int);
|
|
+ extern void * realloc(void *, size_t);
|
|
|
|
p = realloc(xp, sz);
|
|
if (!p)
|