4 #include "../2c/2.out.h"
10 typedef struct Sym Sym;
11 typedef struct Ref Ref;
12 typedef struct Gen Gen;
14 typedef struct Hist Hist;
15 typedef struct Addr Addr;
16 typedef struct Gen2 Gen2;
27 #define GETC() ((--fi.c < 0)? filbuf(): *fi.p++ & 0xff)
111 EXTERN char debug[256];
112 EXTERN Sym* hash[NHASH];
113 EXTERN char* Dlist[30];
119 EXTERN char* include[NINCLUDE];
128 EXTERN char* outfile;
130 EXTERN char* pathname;
134 EXTERN char symb[NSYMB];
136 EXTERN char* thestring;
140 void* allocn(void*, long, long);
141 void errorexit(void);
144 void newfile(char*, int);
157 void outcode(int, Gen2*);
159 void zaddr(Gen*, int);
160 void zname(char*, int, int);
161 void ieeedtod(Ieee*, double);
167 void macexpand(Sym*, char*);
173 void dodefine(char*);
175 void linehist(char*, int);
177 void yyerror(char*, ...);
179 void setinclude(char*);
182 enum /* keep in synch with ../cc/cc.h */
190 * system-dependent stuff from ../cc/compat.c
193 int mycreat(char*, int);
196 char* mygetwd(char*, int);
197 int myexec(char*, char*[]);