From bdebaa5059941f48d43d7b13a6581c7f00aa8f2b Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 25 Oct 1991 11:16:56 +0000 Subject: [PATCH] Do not depend on include files too much --- mach/sparc/ce/cache.c.x | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/mach/sparc/ce/cache.c.x b/mach/sparc/ce/cache.c.x index 08cf96d58..859e5a0c6 100644 --- a/mach/sparc/ce/cache.c.x +++ b/mach/sparc/ce/cache.c.x @@ -1,12 +1,17 @@ /* cache.c */ #include -#include -#include -#include -#include +#include #include "mach.h" +#ifdef __STDC__ +#include +#include +#else +extern char *malloc(); +extern char *strcpy(); +#endif + #define free_reg_num(i) if (1) { assert(reg[i].inuse > 0); reg[i].inuse--; if (debug) fprintf(stderr,"free_reg(%s)\n", regnam[i]); } else #define POP1 cache_need(1);