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/rdist Pull up revision 1.13 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/feb3781a8bbf
branches: netbsd-1-4
changeset: 471087:feb3781a8bbf
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 16:32:25 2000 +0000
description:
Pull up revision 1.13 (requested by he):
Format string cleanup.
diffstat:
usr.bin/rdist/defs.h | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r 730424b84205 -r feb3781a8bbf usr.bin/rdist/defs.h
--- a/usr.bin/rdist/defs.h Thu Oct 19 16:32:22 2000 +0000
+++ b/usr.bin/rdist/defs.h Thu Oct 19 16:32:25 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: defs.h,v 1.12 1998/12/19 20:32:17 christos Exp $ */
+/* $NetBSD: defs.h,v 1.12.2.1 2000/10/19 16:32:25 he Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -158,17 +158,20 @@
void cleanup __P((int));
void define __P((char *));
void docmds __P((char **, int, char **));
-void error __P((const char *, ...));
+void error __P((const char *, ...))
+ __attribute__((__format__(__printf__, 1, 2))) ;
int except __P((char *));
struct namelist *
expand __P((struct namelist *, int));
char *exptilde __P((char [], char *));
-void fatal __P((const char *, ...));
+void fatal __P((const char *, ...))
+ __attribute__((__format__(__printf__, 1, 2)));
int inlist __P((struct namelist *, char *));
void insert __P((char *,
struct namelist *, struct namelist *, struct subcmd *));
void install __P((char *, char *, int, int));
-void log __P((FILE *, const char *, ...));
+void log __P((FILE *, const char *, ...))
+ __attribute__((__format__(__printf__, 2, 3)));
struct namelist *
lookup __P((char *, int, struct namelist *));
void lostconn __P((int));
Home |
Main Index |
Thread Index |
Old Index