summaryrefslogtreecommitdiff
path: root/devel/bmake/files/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bmake/files/parse.c')
-rw-r--r--devel/bmake/files/parse.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/bmake/files/parse.c b/devel/bmake/files/parse.c
index 424c591876b..5da1a49d416 100644
--- a/devel/bmake/files/parse.c
+++ b/devel/bmake/files/parse.c
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.3 2008/11/11 14:37:05 joerg Exp $ */
+/* $NetBSD: parse.c,v 1.4 2009/03/20 16:38:59 joerg Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: parse.c,v 1.3 2008/11/11 14:37:05 joerg Exp $";
+static char rcsid[] = "$NetBSD: parse.c,v 1.4 2009/03/20 16:38:59 joerg Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: parse.c,v 1.3 2008/11/11 14:37:05 joerg Exp $");
+__RCSID("$NetBSD: parse.c,v 1.4 2009/03/20 16:38:59 joerg Exp $");
#endif
#endif /* not lint */
#endif
@@ -477,9 +477,7 @@ Parse_Error(int type, const char *fmt, ...)
if (curFile == (IFile *)NIL) {
/* avoid segfault */
static IFile intFile = {
- .fname = NULL,
- .lineno = 0,
- .fd = -1,
+ NULL, 0, /* fd */ -1, 0, NULL, NULL, NULL, 0
};
curFile = &intFile;
}