diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 24 |
1 files changed, 2 insertions, 22 deletions
@@ -63,28 +63,7 @@ int _debugmask; #define DASH_INC_PRE "#include \"" #define DASH_INC_POST "\"" -const char *ProgramName; - -const char *const directives[] = { - "if", - "ifdef", - "ifndef", - "else", - "endif", - "define", - "undef", - "include", - "line", - "pragma", - "error", - "ident", - "sccs", - "elif", - "eject", - "warning", - "include_next", - NULL -}; +static const char *ProgramName; #include "imakemdep.h" @@ -112,6 +91,7 @@ boolean show_where_not = FALSE; boolean warn_multiple = FALSE; static void setfile_cmdinc(struct filepointer *filep, long count, char **list); +static char *base_name(const char *file); static void redirect(const char *line, const char *makefile); static void _X_NORETURN |