Do not depend on include files too much
This commit is contained in:
parent
6333faba3c
commit
bdebaa5059
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue