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/patch Pull up revision 1.5 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/aae35b66978f
branches: netbsd-1-4
changeset: 471085:aae35b66978f
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 16:32:21 2000 +0000
description:
Pull up revision 1.5 (requested by he):
Format string cleanup.
diffstat:
usr.bin/patch/util.h | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 178f67de304f -r aae35b66978f usr.bin/patch/util.h
--- a/usr.bin/patch/util.h Thu Oct 19 16:32:19 2000 +0000
+++ b/usr.bin/patch/util.h Thu Oct 19 16:32:21 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: util.h,v 1.4 1998/02/22 13:33:50 christos Exp $ */
+/* $NetBSD: util.h,v 1.4.2.1 2000/10/19 16:32:21 he Exp $ */
/* and for those machine that can't handle a variable argument list */
@@ -71,10 +71,14 @@
int move_file __P((char *, char *));
void copy_file __P((char *, char *));
char *savestr __P((Reg1 char *));
-void say __P((const char *, ...));
-void fatal __P((const char *, ...));
-void pfatal __P((const char *, ...));
-void ask __P((const char *, ...));
+void say __P((const char *, ...))
+ __attribute__((__format__(__printf__, 1, 2)));
+void fatal __P((const char *, ...))
+ __attribute__((__format__(__printf__, 1, 2)));
+void pfatal __P((const char *, ...))
+ __attribute__((__format__(__printf__, 1, 2)));
+void ask __P((const char *, ...))
+ __attribute__((__format__(__printf__, 1, 2)));
void set_signals __P((int));
void ignore_signals __P((void));
void makedirs __P((Reg1 char *, bool));
Home |
Main Index |
Thread Index |
Old Index