summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c24
1 files changed, 2 insertions, 22 deletions
diff --git a/main.c b/main.c
index 2ede1bd..cffa27b 100644
--- a/main.c
+++ b/main.c
@@ -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