Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.sbin/mrouted Pull up revision 1.6 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/159a83fe5558
branches: netbsd-1-4
changeset: 471132:159a83fe5558
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 17:05:28 2000 +0000
description:
Pull up revision 1.6 (requested by he):
Format string cleanup.
diffstat:
usr.sbin/mrouted/cfparse.y | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r b9759fb12a36 -r 159a83fe5558 usr.sbin/mrouted/cfparse.y
--- a/usr.sbin/mrouted/cfparse.y Thu Oct 19 17:05:26 2000 +0000
+++ b/usr.sbin/mrouted/cfparse.y Thu Oct 19 17:05:28 2000 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: cfparse.y,v 1.5 1998/03/30 02:33:37 mrg Exp $ */
+/* $NetBSD: cfparse.y,v 1.5.2.1 2000/10/19 17:05:28 he Exp $ */
/*
* Configuration file parser for mrouted.
@@ -19,8 +19,10 @@
/*
* Local function declarations
*/
-static void fatal __P((char *fmt, ...));
-static void warn __P((char *fmt, ...));
+static void fatal __P((char *fmt, ...))
+ __attribute__((__format__(__printf__, 1, 2)));
+static void warn __P((char *fmt, ...))
+ __attribute__((__format__(__printf__, 1, 2)));
static void yyerror __P((char *s));
static char * next_word __P((void));
static int yylex __P((void));
Home |
Main Index |
Thread Index |
Old Index