Do not depend on include files too much

This commit is contained in:
ceriel 1991-10-25 11:16:56 +00:00
parent 6333faba3c
commit bdebaa5059

View file

@ -1,12 +1,17 @@
/* cache.c */
#include <stdio.h>
#include </usr/include/assert.h>
#include <malloc.h>
#include <string.h>
#include <strings.h>
#include <assert.h>
#include "mach.h"
#ifdef __STDC__
#include <stdlib.h>
#include <string.h>
#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);