1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/devel/c4/files/patch-main.c
Akinori MUSHA dadf3aedc9 Add a patch to fix the build on the Alpha.
Reported by:	beta
2002-03-28 12:09:08 +00:00

19 lines
356 B
C

--- main.c.orig Fri Feb 11 17:11:52 2000
+++ main.c Thu Mar 28 21:05:27 2002
@@ -62,7 +62,6 @@
Alloc(unsigned int sz)
{
void * p;
- extern void * malloc(unsigned int);
p = malloc(sz);
if (!p)
@@ -75,7 +74,6 @@
ReAlloc(void * xp, unsigned int sz)
{
void * p;
- extern void * realloc(void *, unsigned int);
p = realloc(xp, sz);
if (!p)