made alloc.h acceptable for ANSI C compiler

This commit is contained in:
ceriel 1991-06-26 17:26:03 +00:00
parent 8cf9b73fbc
commit f3d21dc6cc

View file

@ -18,7 +18,11 @@
*/ */
extern char *Salloc(), *Malloc(), *Srealloc(), *Realloc(); extern char *Salloc(), *Malloc(), *Srealloc(), *Realloc();
#if __STDC__
extern void *malloc(), *realloc();
#else
extern char *malloc(), *realloc(); 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 */ /* 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 */