diff options
author | joerg <joerg> | 2009-03-20 16:38:59 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-03-20 16:38:59 +0000 |
commit | 557f4a5e20eca12f2dd2c2c6a3c16852c32235c2 (patch) | |
tree | dca8025f8bfc76ac63bdb50a18dc0badcf86c29e /devel/bmake | |
parent | baf22e5ece574c7db0b76bd1b1899c1ee95a29f8 (diff) | |
download | pkgsrc-557f4a5e20eca12f2dd2c2c6a3c16852c32235c2.tar.gz |
Apply parse.c 1.149 and 1.150 from src/usr.bin/make to remove use of
C99.
Diffstat (limited to 'devel/bmake')
-rw-r--r-- | devel/bmake/files/parse.c | 10 |
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; } |