From f3d21dc6cce3c06a9b715760fe30e7b550441ab3 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 26 Jun 1991 17:26:03 +0000 Subject: [PATCH] made alloc.h acceptable for ANSI C compiler --- modules/src/alloc/alloc.h | 4 ++++ 1 file changed, 4 insertions(+) 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 */