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.19 (requested by he):



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

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

diffstat:

 usr.bin/make/nonints.h |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 447a3fd357c6 -r 6dd1fa615094 usr.bin/make/nonints.h
--- a/usr.bin/make/nonints.h    Thu Oct 19 16:31:47 2000 +0000
+++ b/usr.bin/make/nonints.h    Thu Oct 19 16:31:49 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nonints.h,v 1.17 1998/09/18 20:35:11 christos Exp $    */
+/*     $NetBSD: nonints.h,v 1.17.2.1 2000/10/19 16:31:49 he Exp $      */
 
 /*-
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -68,9 +68,9 @@
 void Main_ParseArgLine __P((char *));
 int main __P((int, char **));
 char *Cmd_Exec __P((char *, char **));
-void Error __P((char *, ...));
-void Fatal __P((char *, ...));
-void Punt __P((char *, ...));
+void Error __P((char *, ...)) __attribute__((__format__(__printf__, 1, 2)));
+void Fatal __P((char *, ...)) __attribute__((__format__(__printf__, 1, 2)));
+void Punt __P((char *, ...)) __attribute__((__format__(__printf__, 1, 2)));
 void DieHorribly __P((void));
 int PrintAddr __P((ClientData, ClientData));
 void Finish __P((int));
@@ -81,7 +81,8 @@
 int eunlink __P((const char *));
 
 /* parse.c */
-void Parse_Error __P((int, char *, ...));
+void Parse_Error __P((int, char *, ...))
+     __attribute__((__format__(__printf__, 2, 3)));
 Boolean Parse_AnyExport __P((void));
 Boolean Parse_IsVar __P((char *));
 void Parse_DoVar __P((char *, GNode *));



Home | Main Index | Thread Index | Old Index