diff options
-rw-r--r-- | def.h | 17 | ||||
-rw-r--r-- | include.c | 8 | ||||
-rw-r--r-- | parse.c | 7 | ||||
-rw-r--r-- | pr.c | 9 |
4 files changed, 17 insertions, 24 deletions
@@ -176,3 +176,20 @@ int cppsetup(const char *filename, extern void fatalerr(const char *, ...) _X_ATTRIBUTE_PRINTF(1, 2); extern void warning(const char *, ...) _X_ATTRIBUTE_PRINTF(1, 2); extern void warning1(const char *, ...) _X_ATTRIBUTE_PRINTF(1, 2); + +extern struct inclist inclist[ MAXFILES ]; +extern struct inclist *inclistp; +extern struct inclist *inclistnext; +extern struct inclist maininclist; +extern const char *includedirs[ ]; +extern const char **includedirsnext; +extern const char * const directives[]; +extern char *notdotdot[ ]; + +extern char *objprefix; +extern char *objsuffix; +extern int width; +extern boolean printed; +extern boolean verbose; +extern boolean show_where_not; +extern boolean warn_multiple; @@ -27,14 +27,6 @@ in this Software without prior written authorization from The Open Group. #include "def.h" -extern struct inclist inclist[ MAXFILES ], - *inclistp, *inclistnext; -extern const char *includedirs[ ], - **includedirsnext; -extern char *notdotdot[ ]; -extern boolean show_where_not; -extern boolean warn_multiple; - static boolean isdot(const char *p) { @@ -26,13 +26,6 @@ in this Software without prior written authorization from The Open Group. #include "def.h" -extern const char * const directives[]; -extern struct inclist inclist[ MAXFILES ], - *inclistnext, - maininclist; -extern const char *includedirs[ ], - **includedirsnext; - static int deftype (char *line, struct filepointer *filep, struct inclist *file_red, struct inclist *file, int parse_it); @@ -26,15 +26,6 @@ in this Software without prior written authorization from The Open Group. #include "def.h" -extern struct inclist inclist[ MAXFILES ], - *inclistp; -extern char *objprefix; -extern char *objsuffix; -extern int width; -extern boolean printed; -extern boolean verbose; -extern boolean show_where_not; - void add_include(struct filepointer *filep, struct inclist *file, struct inclist *file_red, const char *include, int type, |