44 #include <sys/types.h>
48 #define MAXDEFINES 512
74 #define IFGUESSFALSE 19
75 #define ELIFGUESSFALSE 20
81 extern int _debugmask;
91 #define debug(level,arg) { if (_debugmask & (1 << level)) warning arg; }
93 #define debug(level,arg) {}
126 #ifndef X_NOT_STDC_ENV
128 #if defined(macII) && !defined(__STDC__)
129 char *malloc(), *realloc();
153 inclist *
inc_path(
register char *file,
register char *include,
bool dot,
159 char *
copy(
register char *str);
163 int match(
register const char *str,
register const char **list);
164 void redirect(
char *line,
char *makefile);
165 #if NeedVarargsPrototypes
167 void warning(
const char *, ...);
179 inclist *file_red,
int recursion,
bool failOK);
191 inclist *file_red,
char *include,
bool dot,
bool failOK);
192 void pr(
register inclist *ip,
char *file,
char *base,
bool rc_file);
194 register char *base);
symtab * isdefined(register char *symbol, inclist *file, inclist **srcfile)
void recursive_pr_include(register inclist *head, register char *file, register char *base)
int find_includes(filepointer *filep, inclist *file, inclist *file_red, int recursion, bool failOK)
char * getline(register filepointer *filep)
void pr(register inclist *ip, char *file, char *base, bool rc_file)
void add_include(filepointer *filep, inclist *file, inclist *file_red, char *include, bool dot, bool failOK)
int deftype(register char *line, register filepointer *filep, register inclist *file_red, register inclist *file, int parse_it)
void freefile(filepointer *fp)
void define2(char *name, char *val, inclist *file)
int zero_value(register char *exp, register filepointer *filep, register inclist *file_red)
inclist * inc_path(register char *file, register char *include, bool dot, bool &failure_okay)
inclist * newinclude(register char *newfile, register char *incstring)
symtab * fdefined(register char *symbol, inclist *file, inclist **srcfile)
symtab * slookup(register char *symbol, register inclist *file)
char * base_name(register char *file)
int match(register const char *str, register const char **list)
void redirect(char *line, char *makefile)
void undefine(char *symbol, register inclist *file)
filepointer * getfile(char *file)
void define(char *def, inclist *file)
char * copy(register char *str)
void included_by(register inclist *ip, register inclist *newfile)
int gobble(register filepointer *filep, inclist *file, inclist *file_red)
int cppsetup(register char *line, register filepointer *filep, register inclist *inc)
void warning1(const char *msg, x1, x2, x3, x4, x5, x6, x7, x8, x9)
void fatalerr(char *msg, x1, x2, x3, x4, x5, x6, x7, x8, x9)
void warning(const char *msg, x1, x2, x3, x4, x5, x6, x7, x8, x9)