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/config Pull up revision 1.14 (via patch, reque...



details:   https://anonhg.NetBSD.org/src/rev/cb6c182a66b0
branches:  netbsd-1-4
changeset: 471043:cb6c182a66b0
user:      he <he%NetBSD.org@localhost>
date:      Thu Oct 19 15:28:51 2000 +0000

description:
Pull up revision 1.14 (via patch, requested by is):
  Format string cleanup.

diffstat:

 usr.sbin/config/util.c |  15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r 7e9be308488e -r cb6c182a66b0 usr.sbin/config/util.c
--- a/usr.sbin/config/util.c    Thu Oct 19 15:28:35 2000 +0000
+++ b/usr.sbin/config/util.c    Thu Oct 19 15:28:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.7 1998/06/24 11:20:55 jonathan Exp $        */
+/*     $NetBSD: util.c,v 1.7.2.1 2000/10/19 15:28:51 he Exp $  */
 
 /*
  * Copyright (c) 1992, 1993
@@ -56,11 +56,14 @@
 #include <sys/types.h>
 #include "config.h"
 
-static void nomem __P((void));
-static void vxerror __P((const char *, int, const char *, va_list));
-static void vxwarn __P((const char *, int, const char *, va_list));
-static void vxmsg __P((const char *fname, int line, const char *class, 
-                      const char *fmt, va_list));
+static void nomem(void);
+static void vxerror(const char *, int, const char *, va_list)
+            __attribute__((__format__(__printf__, 3, 0)));
+static void vxwarn(const char *, int, const char *, va_list)
+            __attribute__((__format__(__printf__, 3, 0)));
+static void vxmsg(const char *fname, int line, const char *class, 
+                 const char *fmt, va_list)
+     __attribute__((__format__(__printf__, 4, 0)));
 
 /*
  * Malloc, with abort on error.



Home | Main Index | Thread Index | Old Index