From: ceriel Date: Wed, 26 Jun 1991 17:26:03 +0000 (+0000) Subject: made alloc.h acceptable for ANSI C compiler X-Git-Tag: release-5-5~1098 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f3d21dc6cce3c06a9b715760fe30e7b550441ab3;p=ack.git made alloc.h acceptable for ANSI C compiler --- diff --git a/modules/src/alloc/alloc.h b/modules/src/alloc/alloc.h index 63211c3e5..9479e5e59 100644 --- a/modules/src/alloc/alloc.h +++ b/modules/src/alloc/alloc.h @@ -18,7 +18,11 @@ */ extern char *Salloc(), *Malloc(), *Srealloc(), *Realloc(); +#if __STDC__ +extern void *malloc(), *realloc(); +#else extern char *malloc(), *realloc(); +#endif /* S T R U C T U R E - S T O R A G E D E F I N I T I O N S */