pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/bmake/files Apply parse.c 1.149 and 1.150 from s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/21b632864a47
branches:  trunk
changeset: 556362:21b632864a47
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Mar 20 16:38:59 2009 +0000

description:
Apply parse.c 1.149 and 1.150 from src/usr.bin/make to remove use of
C99.

diffstat:

 devel/bmake/files/parse.c |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r 99fe19e3d0f4 -r 21b632864a47 devel/bmake/files/parse.c
--- a/devel/bmake/files/parse.c Fri Mar 20 16:23:48 2009 +0000
+++ b/devel/bmake/files/parse.c Fri Mar 20 16:38:59 2009 +0000
@@ -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 @@
        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;
        }



Home | Main Index | Thread Index | Old Index