summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/parse.c')
-rw-r--r--usr.bin/make/parse.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index 65fcf05..e8a9935 100644
--- a/usr.bin/make/parse.c
+++ b/usr.bin/make/parse.c
@@ -105,27 +105,13 @@ static Lst targets; /* targets we're working on */
static Lst targCmds; /* command lines for targets */
static Boolean inLine; /* true if currently in a dependency
* line or its commands */
-typedef struct {
- char *str;
- char *ptr;
-} PTR;
-
static int fatals = 0;
static GNode *mainNode; /* The main target to create. This is the
* first target on the first dependency
* line in the first makefile */
-/*
- * Definitions for handling #include specifications
- */
-typedef struct IFile {
- char *fname; /* name of previous file */
- int lineno; /* saved line number */
- FILE * F; /* the open stream */
- PTR * p; /* the char pointer */
-} IFile;
-
-static IFile curFile;
+
+IFile curFile; /* current makefile */
static Lst includes; /* stack of IFiles generated by
* #includes */
OpenPOWER on IntegriCloud