Source-Changes-HG archive

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

[src/netbsd-1-4]: src/usr.bin/make Pull up revision 1.53 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/de7d523bdb76
branches:  netbsd-1-4
changeset: 471074:de7d523bdb76
user:      he <he%NetBSD.org@localhost>
date:      Thu Oct 19 16:31:52 2000 +0000

description:
Pull up revision 1.53 (requested by he):
  Format string cleanup.

diffstat:

 usr.bin/make/parse.c |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 6dd1fa615094 -r de7d523bdb76 usr.bin/make/parse.c
--- a/usr.bin/make/parse.c      Thu Oct 19 16:31:49 2000 +0000
+++ b/usr.bin/make/parse.c      Thu Oct 19 16:31:52 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: parse.c,v 1.41.2.1 1999/06/21 16:37:31 perry Exp $     */
+/*     $NetBSD: parse.c,v 1.41.2.2 2000/10/19 16:31:52 he Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -39,14 +39,14 @@
  */
 
 #ifdef MAKE_BOOTSTRAP
-static char rcsid[] = "$NetBSD: parse.c,v 1.41.2.1 1999/06/21 16:37:31 perry Exp $";
+static char rcsid[] = "$NetBSD: parse.c,v 1.41.2.2 2000/10/19 16:31:52 he 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.41.2.1 1999/06/21 16:37:31 perry Exp $");
+__RCSID("$NetBSD: parse.c,v 1.41.2.2 2000/10/19 16:31:52 he Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -241,8 +241,10 @@
 { ".WAIT",       Wait,         0 },
 };
 
-static void ParseErrorInternal __P((char *, size_t, int, char *, ...));
-static void ParseVErrorInternal __P((char *, size_t, int, char *, va_list));
+static void ParseErrorInternal __P((char *, size_t, int, char *, ...))
+     __attribute__((__format__(__printf__, 4, 5)));
+static void ParseVErrorInternal __P((char *, size_t, int, char *, va_list))
+     __attribute__((__format__(__printf__, 4, 0)));
 static int ParseFindKeyword __P((char *));
 static int ParseLinkSrc __P((ClientData, ClientData));
 static int ParseDoOp __P((ClientData, ClientData));



Home | Main Index | Thread Index | Old Index